aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2007-12-21 18:04:49 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 17:57:40 -0500
commit2ba582b782071c038b312ea330d3090a39f3c66a (patch)
treed867da4b389cc136307b0b945b525b1275033f51
parentf13561cb2f97794df43f83d1ee808e46eb5d2405 (diff)
[BNX2]: Fix compiler warning.
Change bnx2_init_napi() to void. Warning was noted by DaveM. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/bnx2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c
index aef2a9ac16a2..94d1857d2c5d 100644
--- a/drivers/net/bnx2.c
+++ b/drivers/net/bnx2.c
@@ -7313,7 +7313,7 @@ bnx2_bus_string(struct bnx2 *bp, char *str)
7313 return str; 7313 return str;
7314} 7314}
7315 7315
7316static int __devinit 7316static void __devinit
7317bnx2_init_napi(struct bnx2 *bp) 7317bnx2_init_napi(struct bnx2 *bp)
7318{ 7318{
7319 int i; 7319 int i;