david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

Be silent if there are no network interfaces

This commit is contained in:
Michael Brown 2007-01-12 05:48:22 +00:00
parent e96041872e
commit 8b6eaf3c82
1 changed files with 0 additions and 6 deletions

View File

@ -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 )