diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2009-06-24 14:42:30 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-06-29 08:52:49 -0500 |
commit | b5302e1a9d8a47bd29a3e1876fba34be111728a2 (patch) | |
tree | fb8bf68a679b723f0435a0d0d8e2282131f93dcc /slirp/if.c | |
parent | f1d99bbdcd395651e9c1ee71825e29b503f4129a (diff) | |
download | qemu-b5302e1a9d8a47bd29a3e1876fba34be111728a2.zip qemu-b5302e1a9d8a47bd29a3e1876fba34be111728a2.tar.gz qemu-b5302e1a9d8a47bd29a3e1876fba34be111728a2.tar.bz2 |
slirp: Drop link_up checks from if_output and slirp_socket_can_recv
link_up is true once slirp is initialized, so these check are really not
required.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'slirp/if.c')
-rw-r--r-- | slirp/if.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -138,10 +138,7 @@ diddit: /* * This prevents us from malloc()ing too many mbufs */ - if (link_up) { - /* if_start will check towrite */ - if_start(); - } + if_start(); #endif } |