aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 4be077d..34961c2 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);