From: Michael Chan Date: Fri, 21 Dec 2007 23:04:49 +0000 (-0800) Subject: [BNX2]: Fix compiler warning. X-Git-Tag: v2.6.25-rc1~1162^2~1117 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ba582b782071c038b312ea330d3090a39f3c66a;p=linux-2.6 [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 --- 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;