summaryrefslogtreecommitdiff
path: root/qemu-char.h
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.h
parent74c0d6f02048767f05ba671f1b5ca85aad720446 (diff)
downloadqemu-903396ad3ea8f84b38362134ef7157c82b32071e.tar.gz
qemu-903396ad3ea8f84b38362134ef7157c82b32071e.tar.bz2
qemu-903396ad3ea8f84b38362134ef7157c82b32071e.zip
char: remove qemu_chr_send_event()
It's dead code. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-char.h')
-rw-r--r--qemu-char.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/qemu-char.h b/qemu-char.h
index abd9cbdcbe..fba02907cf 100644
--- a/qemu-char.h
+++ b/qemu-char.h
@@ -62,7 +62,6 @@ struct CharDriverState {
IOCanReadHandler *chr_can_read;
IOReadHandler *chr_read;
void *handler_opaque;
- void (*chr_send_event)(struct CharDriverState *chr, int event);
void (*chr_close)(struct CharDriverState *chr);
void (*chr_accept_input)(struct CharDriverState *chr);
void (*chr_set_echo)(struct CharDriverState *chr, bool echo);
@@ -88,7 +87,6 @@ void qemu_chr_delete(CharDriverState *chr);
void qemu_chr_fe_printf(CharDriverState *s, const char *fmt, ...)
GCC_FMT_ATTR(2, 3);
int qemu_chr_fe_write(CharDriverState *s, const uint8_t *buf, int len);
-void qemu_chr_send_event(CharDriverState *s, int event);
void qemu_chr_add_handlers(CharDriverState *s,
IOCanReadHandler *fd_can_read,
IOReadHandler *fd_read,