]> Git Repo - qemu.git/commitdiff
net: remove NICInfo.bootable field
authorEduardo Habkost <[email protected]>
Tue, 6 Apr 2010 22:22:06 +0000 (19:22 -0300)
committerAurelien Jarno <[email protected]>
Sat, 10 Apr 2010 00:09:48 +0000 (02:09 +0200)
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 <[email protected]>
Acked-by: Juan Quintela <[email protected]>
Signed-off-by: Aurelien Jarno <[email protected]>
net.c
net.h

diff --git a/net.c b/net.c
index 3ede738cac8be5829cdd0a3350279be3c016cb95..faa54b4518f1c7519c4e723e4052498102d06700 100644 (file)
--- 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);
         }
     }
diff --git a/net.h b/net.h
index 16f19c5ce15d8ae9d7b66b5ec371d322b9d27ac7..991f0fa0e66fe6b34e72456d751fff9f1422805d 100644 (file)
--- a/net.h
+++ b/net.h
@@ -132,7 +132,6 @@ struct NICInfo {
     VLANState *vlan;
     VLANClientState *netdev;
     int used;
-    int bootable;
     int nvectors;
 };
 
This page took 0.030532 seconds and 4 git commands to generate.