summaryrefslogtreecommitdiffstats
path: root/src/hci
diff options
context:
space:
mode:
authorMichael Brown2007-01-12 06:48:22 +0100
committerMichael Brown2007-01-12 06:48:22 +0100
commit8b6eaf3c820f03c8b78454199600f57cb4a3e603 (patch)
tree64d4e4b55da865b20e313db71392742293528b46 /src/hci
parentAdded missing declaration. (diff)
downloadipxe-8b6eaf3c820f03c8b78454199600f57cb4a3e603.tar.gz
ipxe-8b6eaf3c820f03c8b78454199600f57cb4a3e603.tar.xz
ipxe-8b6eaf3c820f03c8b78454199600f57cb4a3e603.zip
Be silent if there are no network interfaces
Diffstat (limited to 'src/hci')
-rw-r--r--src/hci/commands/ifmgmt_cmd.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/hci/commands/ifmgmt_cmd.c b/src/hci/commands/ifmgmt_cmd.c
index 3b98be0e..dc255e16 100644
--- a/src/hci/commands/ifmgmt_cmd.c
+++ b/src/hci/commands/ifmgmt_cmd.c
@@ -58,12 +58,6 @@ static int ifcommon_do_all ( int ( * payload ) ( struct net_device * ) ) {
struct net_device *netdev;
int rc = 0;
- /* Print error if no network devices exist */
- if ( ! have_netdevs() ) {
- printf ( "No network interfaces\n" );
- return 1;
- }
-
/* Execute payload for each network device */
for_each_netdev ( netdev ) {
if ( payload ( netdev ) != 0 )