summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorMarty Connor2007-07-03 22:02:15 +0200
committerMarty Connor2007-07-03 22:02:15 +0200
commit9b3c4e4d791ed0a514630b626d6a052a7d2a448e (patch)
tree89e9b4d52e8469e1a514424d70a74dbc9dba8fc8 /src/usr
parentMerge branch 'master' of /pub/scm/gpxe (diff)
downloadipxe-9b3c4e4d791ed0a514630b626d6a052a7d2a448e.tar.gz
ipxe-9b3c4e4d791ed0a514630b626d6a052a7d2a448e.tar.xz
ipxe-9b3c4e4d791ed0a514630b626d6a052a7d2a448e.zip
Warnings purge: src/arch/i386, src/core/disk.c, ramdisk, autoboot
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/autoboot.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/usr/autoboot.c b/src/usr/autoboot.c
index 3936e4ca5..302e1891e 100644
--- a/src/usr/autoboot.c
+++ b/src/usr/autoboot.c
@@ -44,34 +44,6 @@ static struct net_device * find_boot_netdev ( void ) {
}
/**
- * Get the next network device to try
- *
- * @ret netdev 'Next' network device
- *
- * This function will cycle through all registered network devices in
- * order, returning NULL.
- *
- * This function should be safe against registration/deregistration of
- * net devices between calls to next_netdev().
- */
-static struct net_device * next_netdev ( void ) {
- static struct net_device *last_netdev = NULL;
- struct net_device *netdev;
-
- for_each_netdev ( netdev ) {
- if ( ! last_netdev ) {
- last_netdev = netdev;
- return netdev;
- }
- if ( last_netdev == netdev )
- last_netdev = NULL;
- }
-
- last_netdev = NULL;
- return NULL;
-}
-
-/**
* Boot from a network device
*
* @v netdev Network device