diff options
author | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2012-07-24 16:35:11 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2012-08-01 12:56:15 +0100 |
commit | a005d0732fb1c8e419e506c94ea2527287fe4204 (patch) | |
tree | a4228a0ad021659fbf9a6344e0d1b75eca56e811 /hw/xtensa_lx60.c | |
parent | ec8b1f6cc8d0a5921fba93cd180b05328e537170 (diff) | |
download | qemu-a005d0732fb1c8e419e506c94ea2527287fe4204.zip qemu-a005d0732fb1c8e419e506c94ea2527287fe4204.tar.gz qemu-a005d0732fb1c8e419e506c94ea2527287fe4204.tar.bz2 |
net: Remove VLANState
VLANState is no longer used and can be removed.
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/xtensa_lx60.c')
-rw-r--r-- | hw/xtensa_lx60.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xtensa_lx60.c b/hw/xtensa_lx60.c index 152eed9..c4f616f 100644 --- a/hw/xtensa_lx60.c +++ b/hw/xtensa_lx60.c @@ -201,7 +201,7 @@ static void lx_init(const LxBoardDesc *board, memory_region_init(system_io, "lx60.io", 224 * 1024 * 1024); memory_region_add_subregion(system_memory, 0xf0000000, system_io); lx60_fpga_init(system_io, 0x0d020000); - if (nd_table[0].vlan) { + if (nd_table[0].used) { lx60_net_init(system_io, 0x0d030000, 0x0d030400, 0x0d800000, xtensa_get_extint(env, 1), nd_table); } |