From: Hans de Goede Date: Tue, 26 Mar 2013 10:08:03 +0000 (+0100) Subject: spice-qemu-char: Drop hackish vmc_register on spice_chr_write X-Git-Tag: v1.5.0-rc0~397 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=e280ff5e9159ed227a117339c1157143627cab96;p=qemu.git spice-qemu-char: Drop hackish vmc_register on spice_chr_write Now that the core takes care of fe_open tracking we no longer need this hack. Signed-off-by: Hans de Goede Message-id: 1364292483-16564-12-git-send-email-hdegoede@redhat.com Signed-off-by: Anthony Liguori --- diff --git a/spice-qemu-char.c b/spice-qemu-char.c index d24982962..535f955ca 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;