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)
commit1a2e8bda665c8f4b00cc5f9c3e613bcf7d823b76
treee5940fb353d55cbed39d3b10a898223ff72944a7
parenta2e0d43f3122793dff2782b7c78127e8eea76284
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