diff options
author | MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp> | 2013-02-22 12:39:50 +0900 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-03-04 09:54:17 +0100 |
commit | bf1c852aa9cbe21beeb7c37d03e167c33ac196b2 (patch) | |
tree | d1cf6d722d272b1a42d98a8c5704a843e2bf0a9f /qemu-char.c | |
parent | 4ef7b8944cc5eae66159c60066b21466e2dc1ee4 (diff) | |
download | qemu-bf1c852aa9cbe21beeb7c37d03e167c33ac196b2.zip qemu-bf1c852aa9cbe21beeb7c37d03e167c33ac196b2.tar.gz qemu-bf1c852aa9cbe21beeb7c37d03e167c33ac196b2.tar.bz2 |
move socket_set_nodelay to osdep.c
Signed-off-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'qemu-char.c')
-rw-r--r-- | qemu-char.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/qemu-char.c b/qemu-char.c index 160decc..36295b1 100644 --- a/qemu-char.c +++ b/qemu-char.c @@ -2365,12 +2365,6 @@ static void tcp_chr_telnet_init(int fd) send(fd, (char *)buf, 3, 0); } -static void socket_set_nodelay(int fd) -{ - int val = 1; - setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, (char *)&val, sizeof(val)); -} - static int tcp_chr_add_client(CharDriverState *chr, int fd) { TCPCharDriver *s = chr->opaque; |