Revision 9a40611c
b/hw/device-hotplug.c | ||
---|---|---|
51 | 51 |
int i; |
52 | 52 |
NICInfo *nic; |
53 | 53 |
|
54 |
for (i = 0; i < MAX_NICS; i++) |
|
54 |
for (i = 0; i < MAX_NICS; i++) {
|
|
55 | 55 |
nic = &nd_table[i]; |
56 | 56 |
if (nic->used) { |
57 | 57 |
if (nic->private && match_fn(nic->private, arg)) { |
... | ... | |
64 | 64 |
net_client_uninit(nic); |
65 | 65 |
} |
66 | 66 |
} |
67 |
} |
|
67 | 68 |
} |
68 | 69 |
|
69 | 70 |
void destroy_bdrvs(dev_match_fn *match_fn, void *arg) |
Also available in: Unified diff