packet: remove handling of tx_ring
authorManinder Singh <maninder1.s@samsung.com>
Mon, 22 Jun 2015 07:09:16 +0000 (12:39 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Jun 2015 13:53:29 +0000 (06:53 -0700)
commite8e85cc5eb5701b935a06b5b3a03a8532946f969
treee5940fb353d55cbed39d3b10a898223ff72944a7
parent138b15ed877eff8149ae32c12fa1f4795c9cb4cf
packet: remove handling of tx_ring

Remove handling of tx_ring in prb_setup_retire_blk_timer
for TPACKET_V3 because init_prb_bdqc is called only for zero tx_ring
and thus prb_setup_retire_blk_timer for zero tx_ring only.

And also in functon init_prb_bdqc there is no usage of tx_ring.
Thus removing tx_ring from init_prb_bdqc.

Signed-off-by: Maninder Singh <maninder1.s@samsung.com>
Suggested-by: Frans Klaver <fransklaver@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/packet/af_packet.c