From: Jesper Juhl Date: Mon, 14 Nov 2011 05:09:21 +0000 (-0500) Subject: net/packet: remove dead code and unneeded variable from prb_setup_retire_blk_timer() X-Git-Tag: v3.2-rc3~25^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ed90f766dab55fc9d49638a02704becaec379ae;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed