From 8b6eaf3c820f03c8b78454199600f57cb4a3e603 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 12 Jan 2007 05:48:22 +0000 Subject: [PATCH] Be silent if there are no network interfaces --- src/hci/commands/ifmgmt_cmd.c | 6 ------ 1 file changed, 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 )