From 58fa54947e6b8a26aaeb1b719eabfd0e1461a2b3 Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Sat, 22 Oct 2016 13:09:40 +0300 Subject: 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 Message-Id: <20161022100951.19562-4-marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini --- include/sysemu/char.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'include') diff --git a/include/sysemu/char.h b/include/sysemu/char.h index de0d99b3c2..6bad8564bc 100644 --- a/include/sysemu/char.h +++ b/include/sysemu/char.h @@ -103,7 +103,6 @@ struct CharDriverState { void (*chr_accept_input)(struct CharDriverState *chr); void (*chr_set_echo)(struct CharDriverState *chr, bool echo); void (*chr_set_fe_open)(struct CharDriverState *chr, int fe_open); - void (*chr_fe_event)(struct CharDriverState *chr, int event); CharBackend *be; void *opaque; char *label; @@ -238,16 +237,6 @@ void qemu_chr_fe_set_echo(CharBackend *be, bool echo); */ void qemu_chr_fe_set_open(CharBackend *be, int fe_open); -/** - * @qemu_chr_fe_event: - * - * Send an event from the front end to the back end. It does nothing - * without associated CharDriver. - * - * @event the event to send - */ -void qemu_chr_fe_event(CharBackend *be, int event); - /** * @qemu_chr_fe_printf: * -- cgit v1.2.3-55-g7522