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 /net.h | |
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 'net.h')
-rw-r--r-- | net.h | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -17,7 +17,6 @@ struct MACAddr { typedef struct NICConf { MACAddr macaddr; - VLANState *vlan; VLANClientState *peer; int32_t bootindex; } NICConf; @@ -53,7 +52,6 @@ struct VLANClientState { NetClientInfo *info; int link_down; QTAILQ_ENTRY(VLANClientState) next; - struct VLANState *vlan; VLANClientState *peer; NetQueue *send_queue; char *model; @@ -69,13 +67,6 @@ typedef struct NICState { bool peer_deleted; } NICState; -struct VLANState { - int id; - QTAILQ_HEAD(, VLANClientState) clients; - QTAILQ_ENTRY(VLANState) next; - NetQueue *send_queue; -}; - VLANClientState *qemu_find_netdev(const char *id); VLANClientState *qemu_new_net_client(NetClientInfo *info, VLANClientState *peer, @@ -120,7 +111,6 @@ struct NICInfo { char *model; char *name; char *devaddr; - VLANState *vlan; VLANClientState *netdev; int used; /* is this slot in nd_table[] being used? */ int instantiated; /* does this NICInfo correspond to an instantiated NIC? */ |