]> Git Repo - qemu.git/blobdiff - hw/device-hotplug.c
error: Use QERR_INVALID_PARAMETER_VALUE instead of QERR_INVALID_PARAMETER
[qemu.git] / hw / device-hotplug.c
index c0cfd31d4decff2d629270f3f91de28b72ca6bce..9cc837669168339a7a463b4dcbf44aad0cd68a1b 100644 (file)
@@ -46,19 +46,3 @@ DriveInfo *add_init_drive(const char *optstr)
 
     return dinfo;
 }
-
-void destroy_nic(dev_match_fn *match_fn, void *arg)
-{
-    int i;
-    NICInfo *nic;
-
-    for (i = 0; i < MAX_NICS; i++) {
-        nic = &nd_table[i];
-        if (nic->used) {
-            if (nic->private && match_fn(nic->private, arg)) {
-                qemu_del_vlan_client(nic->vc);
-                net_client_uninit(nic);
-            }
-        }
-    }
-}
This page took 0.020509 seconds and 4 git commands to generate.