diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2012-03-06 00:02:23 +0100 |
---|---|---|
committer | Jan Kiszka <jan.kiszka@siemens.com> | 2012-03-13 14:05:49 +0100 |
commit | f37343197708d90f119007ce5ecc2503be9c04c1 (patch) | |
tree | be52455e7c173229f8055b5858a9f87e0829081e /slirp/slirp.c | |
parent | e3078bf40a33b59fa11d077b1d0bb8796470982e (diff) | |
download | qemu-f37343197708d90f119007ce5ecc2503be9c04c1.zip qemu-f37343197708d90f119007ce5ecc2503be9c04c1.tar.gz qemu-f37343197708d90f119007ce5ecc2503be9c04c1.tar.bz2 |
slirp: Remove unneeded if_queued
There is now a trivial check on entry of if_start for pending packets,
so we can drop the additional tracking via if_queued.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Diffstat (limited to 'slirp/slirp.c')
-rw-r--r-- | slirp/slirp.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/slirp/slirp.c b/slirp/slirp.c index 19d69eb..bcffc34 100644 --- a/slirp/slirp.c +++ b/slirp/slirp.c @@ -581,12 +581,7 @@ void slirp_select_poll(fd_set *readfds, fd_set *writefds, fd_set *xfds, } } - /* - * See if we can start outputting - */ - if (slirp->if_queued) { - if_start(slirp); - } + if_start(slirp); } /* clear global file descriptor sets. |