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/qdev-properties.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/qdev-properties.c')
-rw-r--r-- | hw/qdev-properties.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/hw/qdev-properties.c b/hw/qdev-properties.c index 7cc3eb7..726f6d7 100644 --- a/hw/qdev-properties.c +++ b/hw/qdev-properties.c @@ -1195,13 +1195,6 @@ void qdev_prop_set_netdev(DeviceState *dev, const char *name, VLANClientState *v assert_no_error(errp); } -void qdev_prop_set_vlan(DeviceState *dev, const char *name, VLANState *value) -{ - Error *errp = NULL; - object_property_set_int(OBJECT(dev), value ? value->id : -1, name, &errp); - assert_no_error(errp); -} - void qdev_prop_set_macaddr(DeviceState *dev, const char *name, uint8_t *value) { Error *errp = NULL; |