diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-10-22 13:09:40 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-10-24 15:46:10 +0200 |
commit | 58fa54947e6b8a26aaeb1b719eabfd0e1461a2b3 (patch) | |
tree | 53ae3fcba5f86d9446a0051bc8d51ed7cbb24957 /spice-qemu-char.c | |
parent | 8c260cb13c2d9a889b660e829c3f5769ae030ec4 (diff) |
char: remove unused qemu_chr_fe_event
I introduced this function in d61b0c9a2f7f, but it isn't
used. Furthermore, it was incomplete, as it would need to translate QEMU
chr events to Spice port events.
(presumably it was used in the follow-up NBD-spice series that was not
completed: http://lists.gnu.org/archive/html/qemu-devel/2013-11/msg02024.html)
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20161022100951.19562-4-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'spice-qemu-char.c')
-rw-r--r-- | spice-qemu-char.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/spice-qemu-char.c b/spice-qemu-char.c index 930b8c5b2d..89fae6dc3f 100644 --- a/spice-qemu-char.c +++ b/spice-qemu-char.c @@ -236,15 +236,6 @@ static void spice_port_set_fe_open(struct CharDriverState *chr, int fe_open) #endif } -static void spice_chr_fe_event(struct CharDriverState *chr, int event) -{ -#if SPICE_SERVER_VERSION >= 0x000c02 - SpiceCharDriver *s = chr->opaque; - - spice_server_port_event(&s->sin, event); -#endif -} - static void print_allowed_subtypes(void) { const char** psubtype; @@ -292,7 +283,6 @@ static CharDriverState *chr_open(const char *subtype, chr->chr_free = spice_chr_free; chr->chr_set_fe_open = set_fe_open; chr->explicit_be_open = true; - chr->chr_fe_event = spice_chr_fe_event; chr->chr_accept_input = spice_chr_accept_input; QLIST_INSERT_HEAD(&spice_chars, s, next); |