]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[BNX2]: Fix compiler warning.
authorMichael Chan <mchan@broadcom.com>
Fri, 21 Dec 2007 23:04:49 +0000 (15:04 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:57:40 +0000 (14:57 -0800)
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>
drivers/net/bnx2.c

index aef2a9ac16a21f73bc335396764d981f37652a46..94d1857d2c5d06be7735c94300978f8f91c55bc9 100644 (file)
@@ -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;