aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2012-07-24 16:35:10 +0100
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2012-08-01 12:28:51 +0100
commitec8b1f6cc8d0a5921fba93cd180b05328e537170 (patch)
tree1e4683f8d273c02f32bc1bf8f3eb7afdff7ecac9 /hw
parent606c10e2bd5877e01f0ff1812d9abebf40fb522b (diff)
net: Remove vlan code from net.c
The vlan implementation in net.c has been replaced by hubs so we can remove the code. Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/xen_nic.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/xen_nic.c b/hw/xen_nic.c
index 593a572119..5c3c1c6dd1 100644
--- a/hw/xen_nic.c
+++ b/hw/xen_nic.c
@@ -325,7 +325,6 @@ static int net_init(struct XenDevice *xendev)
return -1;
}
- netdev->conf.vlan = qemu_find_vlan(netdev->xendev.dev, 1);
netdev->conf.peer = NULL;
netdev->nic = qemu_new_nic(&net_xen_info, &netdev->conf,