summaryrefslogtreecommitdiffstats
path: root/net/rds
diff options
context:
space:
mode:
authorJesper Juhl <jj@chaosbits.net>2011-11-14 00:09:21 -0500
committerDavid S. Miller <davem@davemloft.net>2011-11-14 00:09:21 -0500
commit3ed90f766dab55fc9d49638a02704becaec379ae (patch)
treeb7636c636c01c8d3a9f2da5e44e34393dd54595c /net/rds
parent4b90a603a1b21d63cf743cc833680cb195a729f6 (diff)
downloadop-kernel-dev-3ed90f766dab55fc9d49638a02704becaec379ae.zip
op-kernel-dev-3ed90f766dab55fc9d49638a02704becaec379ae.tar.gz
net/packet: remove dead code and unneeded variable from prb_setup_retire_blk_timer()
We test for 'tx_ring' being != zero and BUG() if that's the case. So after that check there is no way that 'tx_ring' could be anything _but_ zero, so testing it again is just dead code. Once that dead code is removed, the 'pkc' local variable becomes entirely redundant, so remove that as well. Signed-off-by: Jesper Juhl <jj@chaosbits.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud