Skip to contentSkip to conversation

be2net: Patch removes redundant while statement in loop.

PATCH Applied Sarveshwar Bandi 2 participants 2 messages May 27, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 be2net: Patch removes redundant while statement in loop.

---
 drivers/net/benet/be_main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/benet/be_main.c +1 -1
index aa065c7..54b1427 100644
@@ -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