OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0aa6827
)
be2net: Patch removes redundant while statement in loop.
author
Sarveshwar Bandi
<sarveshwarb@serverengines.com>
Thu, 27 May 2010 23:28:15 +0000
(16:28 -0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 28 May 2010 08:57:18 +0000
(
01:57
-0700)
Signed-off-by: Sarveshwar Bandi <sarveshwarb@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/benet/be_main.c
b/drivers/net/benet/be_main.c
index
aa065c7
..
54b1427
100644
(file)
--- a/
drivers/net/benet/be_main.c
+++ b/
drivers/net/benet/be_main.c
@@
-1861,7
+1861,7
@@
static int be_setup(struct be_adapter *adapter)
goto if_destroy;
}
vf++;
- }
while (vf < num_vfs);
+ }
} else if (!be_physfn(adapter)) {
status = be_cmd_mac_addr_query(adapter, mac,
MAC_ADDRESS_TYPE_NETWORK, false, adapter->if_handle);