Patchwork [8/8] spice-qemu-char: Drop hackish vmc_register on spice_chr_write

login
register
mail settings
Submitter Hans de Goede
Date March 24, 2013, 12:39 p.m.
Message ID <1364128793-12689-9-git-send-email-hdegoede@redhat.com>
Download mbox | patch
Permalink /patch/230447/
State New
Headers show

Comments

Hans de Goede - March 24, 2013, 12:39 p.m.
Now that the core takes care of fe_open tracking we no longer need this hack.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 spice-qemu-char.c | 1 -
 1 file changed, 1 deletion(-)

Patch

diff --git a/spice-qemu-char.c b/spice-qemu-char.c
index ba59374..7e6bd2d 100644
--- a/spice-qemu-char.c
+++ b/spice-qemu-char.c
@@ -184,7 +184,6 @@  static int spice_chr_write(CharDriverState *chr, const uint8_t *buf, int len)
     SpiceCharDriver *s = chr->opaque;
     int read_bytes;
 
-    vmc_register_interface(s);
     assert(s->datalen == 0);
     s->datapos = buf;
     s->datalen = len;