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 | ee89d7bf054980fdc727237173d76c81a639e608 (patch) | |
tree | 52a38efabe36e9a12fc84dcb8e263d80718cc931 /if.c | |
parent | 7298f3a3fcadca434a5f1281d0ef0754ce39d4cc (diff) | |
download | slirp-ee89d7bf054980fdc727237173d76c81a639e608.zip slirp-ee89d7bf054980fdc727237173d76c81a639e608.tar.gz slirp-ee89d7bf054980fdc727237173d76c81a639e608.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 'if.c')
-rw-r--r-- | if.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -134,10 +134,7 @@ diddit: /* * This prevents us from malloc()ing too many mbufs */ - if (link_up) { - /* if_start will check towrite */ - if_start(); - } + if_start(); #endif } |