be2net: Patch removes redundant while statement in loop.
Subsystems (2)
PATCH 1/1 be2net: Patch removes redundant while statement in loop.
Signed-off-by Sarveshwar Bandi <[email protected]>
--- drivers/net/benet/be_main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/benet/be_main.c +1 -1
@@ -1861,7 +1861,7 @@ static int be_setup(struct be_adapter *a 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);
Signature · 1 line
1.4.0
From: Sarveshwar Bandi <[email protected]>
Date: Thu, 27 May 2010 15:02:19 +0530
Quoted 1 line
Signed-off-by Sarveshwar Bandi <[email protected]>
Applied, thanks.