Skip to content

Commit

Permalink
[BNX2]: Fix compiler warning.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael Chan authored and David S. Miller committed Jan 28, 2008
1 parent f13561c commit 2ba582b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/bnx2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2ba582b

Please sign in to comment.