aboutsummaryrefslogtreecommitdiff
path: root/qemu-char.c
diff options
context:
space:
mode:
authorKusanagi Kouichi <slash@ac.auone-net.jp>2010-01-15 00:46:24 +0900
committerAnthony Liguori <aliguori@us.ibm.com>2010-01-19 16:31:03 -0600
commit3b9d7e662160bdc1381d190ce395a9a139a13117 (patch)
treeb3087f7207f6dda69e2b5b8e532e6d994ebf0511 /qemu-char.c
parent2ebf7c4b82f7b569cb74e9641968bf4a1da25d3d (diff)
char: Remove redundant qemu_chr_generic_open() call.
qemu_chr_open_fd() calls qemu_chr_generic_open(), so qemu_chr_open_tty() doesn't need to call it. Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-char.c')
-rw-r--r--qemu-char.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/qemu-char.c b/qemu-char.c
index b13f8d4cf7..800ee6c503 100644
--- a/qemu-char.c
+++ b/qemu-char.c
@@ -1187,7 +1187,6 @@ static CharDriverState *qemu_chr_open_tty(QemuOpts *opts)
return NULL;
}
chr->chr_ioctl = tty_serial_ioctl;
- qemu_chr_generic_open(chr);
return chr;
}
#else /* ! __linux__ && ! __sun__ */