http://git.etherboot.org
/
people
/
lynusvaz
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e960418
)
Be silent if there are no network interfaces
author
Michael Brown
<mcb30@etherboot.org>
Fri, 12 Jan 2007 05:48:22 +0000
(
05:48
+0000)
committer
Michael Brown
<mcb30@etherboot.org>
Fri, 12 Jan 2007 05:48:22 +0000
(
05:48
+0000)
src/hci/commands/ifmgmt_cmd.c
patch
|
blob
|
history
diff --git
a/src/hci/commands/ifmgmt_cmd.c
b/src/hci/commands/ifmgmt_cmd.c
index
3b98be0
..
dc255e1
100644
(file)
--- 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 )