From 2ba582b782071c038b312ea330d3090a39f3c66a Mon Sep 17 00:00:00 2001 From: Michael Chan Date: Fri, 21 Dec 2007 15:04:49 -0800 Subject: [PATCH] [BNX2]: Fix compiler warning. Change bnx2_init_napi() to void. Warning was noted by DaveM. Signed-off-by: Michael Chan Signed-off-by: David S. Miller --- drivers/net/bnx2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c index aef2a9ac16..94d1857d2c 100644 --- a/drivers/net/bnx2.c +++ b/drivers/net/bnx2.c @@ -7313,7 +7313,7 @@ bnx2_bus_string(struct bnx2 *bp, char *str) return str; } -static int __devinit +static void __devinit bnx2_init_napi(struct bnx2 *bp) { int i; -- 2.39.5