From a005d0732fb1c8e419e506c94ea2527287fe4204 Mon Sep 17 00:00:00 2001 From: Stefan Hajnoczi Date: Tue, 24 Jul 2012 16:35:11 +0100 Subject: net: Remove VLANState VLANState is no longer used and can be removed. Signed-off-by: Stefan Hajnoczi Signed-off-by: Zhi Yong Wu Reviewed-by: Laszlo Ersek --- hw/vexpress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/vexpress.c') diff --git a/hw/vexpress.c b/hw/vexpress.c index b2dc8a5ab3..b6158447d7 100644 --- a/hw/vexpress.c +++ b/hw/vexpress.c @@ -427,7 +427,7 @@ static void vexpress_common_init(const VEDBoardInfo *daughterboard, memory_region_add_subregion(sysmem, map[VE_VIDEORAM], vram); /* 0x4e000000 LAN9118 Ethernet */ - if (nd_table[0].vlan) { + if (nd_table[0].used) { lan9118_init(&nd_table[0], map[VE_ETHERNET], pic[15]); } -- cgit v1.2.3