summaryrefslogtreecommitdiff
path: root/net.c
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2010-04-06 19:22:06 -0300
committerAurelien Jarno <aurelien@aurel32.net>2010-04-10 02:09:48 +0200
commitba140101726d08c729d0e9d73b7b566954e2bd98 (patch)
tree0b989a6e0a440022ce641e142f1bcc42c8c3db4e /net.c
parenta8de64a267140b52e495a7c9db3f26b748407c3b (diff)
downloadqemu-ba140101726d08c729d0e9d73b7b566954e2bd98.tar.gz
qemu-ba140101726d08c729d0e9d73b7b566954e2bd98.tar.bz2
qemu-ba140101726d08c729d0e9d73b7b566954e2bd98.zip
net: remove NICInfo.bootable field
It is just set by net_set_boot_mask() and never used. The logic for rom loading changed a lot since this field was introduced. It is not needed anymore. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Acked-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'net.c')
-rw-r--r--net.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net.c b/net.c
index 3ede738cac..faa54b4518 100644
--- a/net.c
+++ b/net.c
@@ -1207,7 +1207,6 @@ void net_set_boot_mask(int net_boot_mask)
for (i = 0; i < nb_nics; i++) {
if (net_boot_mask & (1 << i)) {
- nd_table[i].bootable = 1;
net_boot_mask &= ~(1 << i);
}
}