From 57e073a3a152d0e63c3df257c60ababb19f2c13d Mon Sep 17 00:00:00 2001 From: Amit Shah Date: Tue, 3 Nov 2009 19:59:55 +0530 Subject: char: Remove special init_reset handling The initial_reset sent to chardevs doesn't do much other than setting a bool to true. Char devices are interested in the open event and that gets sent whenever the device is opened. Moreover, the reset logic breaks as and when qemu's bh scheduling changes. Signed-off-by: Amit Shah Signed-off-by: Anthony Liguori --- qemu-char.h | 1 - 1 file changed, 1 deletion(-) (limited to 'qemu-char.h') diff --git a/qemu-char.h b/qemu-char.h index 05fe15d8cd..b420111f7c 100644 --- a/qemu-char.h +++ b/qemu-char.h @@ -83,7 +83,6 @@ void qemu_chr_add_handlers(CharDriverState *s, void *opaque); int qemu_chr_ioctl(CharDriverState *s, int cmd, void *arg); void qemu_chr_reset(CharDriverState *s); -void qemu_chr_initial_reset(void); int qemu_chr_can_read(CharDriverState *s); void qemu_chr_read(CharDriverState *s, uint8_t *buf, int len); int qemu_chr_get_msgfd(CharDriverState *s); -- cgit v1.2.3