mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
net: Remove unused net_client_uninit()
Unused since commit 9ad4531e
.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
5f2243f301
commit
7f76abe1c9
2 changed files with 0 additions and 15 deletions
14
net.c
14
net.c
|
@ -1128,20 +1128,6 @@ int net_client_init(Monitor *mon, QemuOpts *opts, int is_netdev)
|
|||
return -1;
|
||||
}
|
||||
|
||||
void net_client_uninit(NICInfo *nd)
|
||||
{
|
||||
if (nd->vlan) {
|
||||
nd->vlan->nb_guest_devs--;
|
||||
}
|
||||
nb_nics--;
|
||||
|
||||
qemu_free(nd->model);
|
||||
qemu_free(nd->name);
|
||||
qemu_free(nd->devaddr);
|
||||
|
||||
nd->used = 0;
|
||||
}
|
||||
|
||||
static int net_host_check_device(const char *device)
|
||||
{
|
||||
int i;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue