aboutsummaryrefslogtreecommitdiff
path: root/chardev/char-win.h
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2017-01-04 19:37:19 +0100
committerMarc-André Lureau <marcandre.lureau@redhat.com>2017-06-02 11:33:52 +0400
commitb88ee025942d1ed67232700ef8befa5e52a9f7bd (patch)
tree4310041b776929abc51c7dca9d640778a8383326 /chardev/char-win.h
parentc7e47c63e0362ffded57db38684b88c270cff65f (diff)
downloadqemu-b88ee025942d1ed67232700ef8befa5e52a9f7bd.zip
qemu-b88ee025942d1ed67232700ef8befa5e52a9f7bd.tar.gz
qemu-b88ee025942d1ed67232700ef8befa5e52a9f7bd.tar.bz2
char-win: simplify win_chr_read()
win_chr_read_poll() is always used before win_chr_read(). We can easily fold win_chr_readfile() too. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'chardev/char-win.h')
-rw-r--r--chardev/char-win.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chardev/char-win.h b/chardev/char-win.h
index d78a7d7..73a0e3c 100644
--- a/chardev/char-win.h
+++ b/chardev/char-win.h
@@ -28,7 +28,7 @@
typedef struct {
Chardev parent;
- int max_size;
+
HANDLE hcom, hrecv, hsend;
OVERLAPPED orecv;
BOOL fpipe;