Revert commits 5685 to 5688 committed by mistake
[qemu] / net.c
diff --git a/net.c b/net.c
index bb9ea6e..35aeb1e 100644 (file)
--- a/net.c
+++ b/net.c
@@ -622,8 +622,6 @@ static void tap_send(void *opaque)
 
 /* fd support */
 
-void enable_sigio_timer(int fd);
-
 static TAPState *net_tap_fd_init(VLANState *vlan, int fd)
 {
     TAPState *s;
@@ -632,7 +630,6 @@ static TAPState *net_tap_fd_init(VLANState *vlan, int fd)
     if (!s)
         return NULL;
     s->fd = fd;
-    enable_sigio_timer(fd);
     s->vc = qemu_new_vlan_client(vlan, tap_receive, NULL, s);
     qemu_set_fd_handler(s->fd, tap_send, NULL, s);
     snprintf(s->vc->info_str, sizeof(s->vc->info_str), "tap: fd=%d", fd);