summaryrefslogtreecommitdiff
path: root/net.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2010-02-11 14:44:57 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2010-02-19 12:12:46 -0600
commit7f76abe1c9d880050ba31ff827b3ff5cbc8175a7 (patch)
tree367b84ead50cdd989a104fa6987ac30d99316227 /net.c
parent5f2243f3013956b604b92cb614b8e1a8681e3e74 (diff)
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>
Diffstat (limited to 'net.c')
-rw-r--r--net.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/net.c b/net.c
index 8e951ca9d..f51d37613 100644
--- a/net.c
+++ b/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;