]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4c579678faa4e36171d75894e81aa8de84c91351
treefc4fa67c8e0287da2eca89b3f61373a0a948b2db
parentbec358ff1af3619c342b90e74a774f53c428e2fe
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