bnx2x: Fix set-but-unused variables.
authorDavid S. Miller <davem@davemloft.net>
Sun, 17 Apr 2011 23:56:12 +0000 (16:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Apr 2011 23:56:12 +0000 (16:56 -0700)
commitb8ee8328bac0d8420d2b9ef4838d0df25df100ab
treefc4fa67c8e0287da2eca89b3f61373a0a948b2db
parent585985429080a449e0ecf66dd485899a8765c26c
bnx2x: Fix set-but-unused variables.

The variable 'rc' is set but unused in bnx2x_timer().

Similarly for 'hc_index_p' in bnx2x_init_sb(), and 'port' in
bnx2x_get_hwinfo().

Just kill them off.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x/bnx2x_main.c