git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5859854
)
bnx2x: Fix set-but-unused variables.
author
David S. Miller
<davem@davemloft.net>
Sun, 17 Apr 2011 23:56:12 +0000
(16:56 -0700)
committer
David S. Miller
<davem@davemloft.net>
Sun, 17 Apr 2011 23:56:12 +0000
(16:56 -0700)
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
patch
|
blob
|
history
diff --cc
drivers/net/bnx2x/bnx2x_main.c
Simple merge