mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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>
This commit is contained in:
parent
ec8b1f6cc8
commit
a005d0732f
18 changed files with 31 additions and 137 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue