]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit459ab5167ff87bf58771f4cb40a1ff3f63bc7dfd
treee5940fb353d55cbed39d3b10a898223ff72944a7
parentb97868207cfc7dc4ab308177d93b185ab77aa5dd
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