aboutsummaryrefslogtreecommitdiff
path: root/hw/xen_nic.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2013-02-01 12:55:56 -0600
committerAnthony Liguori <aliguori@us.ibm.com>2013-02-01 13:00:33 -0600
commit3e3648b29f80c3c406dae127592150b550f20d2f (patch)
treec936b8dbfc7202000d3c2d2b146cb220905998c3 /hw/xen_nic.c
parenta9c87c586ba9ee290792a98dc126b2861b7f8b03 (diff)
xen: fix build problem introduced from per-queue peers
Reported-by Andreas Färber <afaerber@suse.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/xen_nic.c')
-rw-r--r--hw/xen_nic.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/xen_nic.c b/hw/xen_nic.c
index 4be077d320..34961c287a 100644
--- a/hw/xen_nic.c
+++ b/hw/xen_nic.c
@@ -326,8 +326,6 @@ static int net_init(struct XenDevice *xendev)
return -1;
}
- netdev->conf.peer = NULL;
-
netdev->nic = qemu_new_nic(&net_xen_info, &netdev->conf,
"xen", NULL, netdev);