diff options
Diffstat (limited to 'net/slirp.c')
-rw-r--r-- | net/slirp.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/slirp.c b/net/slirp.c index 361899b8f2..317cca7f63 100644 --- a/net/slirp.c +++ b/net/slirp.c @@ -738,10 +738,6 @@ int net_init_slirp(QemuOpts *opts, qemu_free(config); } - if (ret != -1 && vlan) { - vlan->nb_host_devs++; - } - qemu_free(vnet); return ret; |