aboutsummaryrefslogtreecommitdiff
path: root/qemu-char.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-08-15 11:17:40 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2011-08-22 10:17:44 -0500
commit903396ad3ea8f84b38362134ef7157c82b32071e (patch)
treed9616631c3c3a8d4441250782cecf4fcb84f07d4 /qemu-char.c
parent74c0d6f02048767f05ba671f1b5ca85aad720446 (diff)
char: remove qemu_chr_send_event()
It's dead code. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-char.c')
-rw-r--r--qemu-char.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/qemu-char.c b/qemu-char.c
index 2075118f6b..c9e5c41dc1 100644
--- a/qemu-char.c
+++ b/qemu-char.c
@@ -189,12 +189,6 @@ void qemu_chr_fe_printf(CharDriverState *s, const char *fmt, ...)
va_end(ap);
}
-void qemu_chr_send_event(CharDriverState *s, int event)
-{
- if (s->chr_send_event)
- s->chr_send_event(s, event);
-}
-
void qemu_chr_add_handlers(CharDriverState *s,
IOCanReadHandler *fd_can_read,
IOReadHandler *fd_read,