diff mbox

xen: fix build problem introduced from per-queue peers

Message ID 1359745400-23961-1-git-send-email-aliguori@us.ibm.com
State New
Headers show

Commit Message

Anthony Liguori Feb. 1, 2013, 7:03 p.m. UTC
Reported-by Andreas Färber <afaerber@suse.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
---
 hw/xen_nic.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Andreas Färber Feb. 1, 2013, 8:27 p.m. UTC | #1
Am 01.02.2013 20:03, schrieb Anthony Liguori:
> Reported-by Andreas Färber <afaerber@suse.de>
> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

Tested-by: Andreas Färber <afaerber@suse.de>

Andreas

> ---
>  hw/xen_nic.c | 2 --
>  1 file changed, 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);
>  
>
Anthony Liguori Feb. 4, 2013, 10:50 p.m. UTC | #2
Applied.  Thanks.

Regards,

Anthony Liguori
diff mbox

Patch

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);