Commit 84e5b9f7 authored by Sarveshwar Bandi's avatar Sarveshwar Bandi Committed by David S. Miller

be2net: Patch removes redundant while statement in loop.

Signed-off-by: default avatarSarveshwar Bandi <sarveshwarb@serverengines.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0aa68271
...@@ -1861,7 +1861,7 @@ static int be_setup(struct be_adapter *adapter) ...@@ -1861,7 +1861,7 @@ static int be_setup(struct be_adapter *adapter)
goto if_destroy; goto if_destroy;
} }
vf++; vf++;
} while (vf < num_vfs); }
} else if (!be_physfn(adapter)) { } else if (!be_physfn(adapter)) {
status = be_cmd_mac_addr_query(adapter, mac, status = be_cmd_mac_addr_query(adapter, mac,
MAC_ADDRESS_TYPE_NETWORK, false, adapter->if_handle); MAC_ADDRESS_TYPE_NETWORK, false, adapter->if_handle);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment