* [PATCH net-2.6] be2net: Patch removes redundant while statement in loop.
@ 2010-05-27 9:32 Sarveshwar Bandi
2010-05-27 23:28 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Sarveshwar Bandi @ 2010-05-27 9:32 UTC (permalink / raw)
To: netdev; +Cc: davem
Signed-off-by: Sarveshwar Bandi <sarveshwarb@serverengines.com>
---
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 aa065c7..54b1427 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 *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);
--
1.4.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-2.6] be2net: Patch removes redundant while statement in loop.
2010-05-27 9:32 [PATCH net-2.6] be2net: Patch removes redundant while statement in loop Sarveshwar Bandi
@ 2010-05-27 23:28 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2010-05-27 23:28 UTC (permalink / raw)
To: sarveshwarb; +Cc: netdev
From: Sarveshwar Bandi <sarveshwarb@serverengines.com>
Date: Thu, 27 May 2010 15:02:19 +0530
> Signed-off-by: Sarveshwar Bandi <sarveshwarb@serverengines.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-05-27 23:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-27 9:32 [PATCH net-2.6] be2net: Patch removes redundant while statement in loop Sarveshwar Bandi
2010-05-27 23:28 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).