diff options
author | Sarveshwar Bandi <sarveshwarb@serverengines.com> | 2010-05-27 16:28:15 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-28 01:57:18 -0700 |
commit | 84e5b9f75b48fe4a1e4ee72698230701439d0805 (patch) | |
tree | 98591654a465bb46ae3b37a1011bd847476f86ab /drivers/net | |
parent | 0aa68271510ae2b221d4b60892103837be63afe4 (diff) | |
download | blackbird-op-linux-84e5b9f75b48fe4a1e4ee72698230701439d0805.tar.gz blackbird-op-linux-84e5b9f75b48fe4a1e4ee72698230701439d0805.zip |
be2net: Patch removes redundant while statement in loop.
Signed-off-by: Sarveshwar Bandi <sarveshwarb@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/benet/be_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c index aa065c71ddd8..54b14272f333 100644 --- 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); |