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

login
register
mail settings
Submitter Hans de Goede
Date March 26, 2013, 10:08 a.m.
Message ID <1364292483-16564-12-git-send-email-hdegoede@redhat.com>
Download mbox | patch
Permalink /patch/231148/
State New
Headers show

Comments

Hans de Goede - March 26, 2013, 10:08 a.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 d249829..535f955 100644
--- a/spice-qemu-char.c
+++ b/spice-qemu-char.c
@@ -149,7 +149,6 @@  static int spice_chr_write(CharDriverState *chr, const uint8_t *buf, int len)
 {
     SpiceCharDriver *s = chr->opaque;
 
-    vmc_register_interface(s);
     assert(s->datalen == 0);
     if (s->bufsize < len) {
         s->bufsize = len;