net: pktgen: Remove unused 'allocated_skbs' field
authorBogdan Hamciuc <bogdan.hamciuc@freescale.com>
Wed, 29 Jul 2015 09:47:16 +0000 (12:47 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Jul 2015 06:00:39 +0000 (23:00 -0700)
commit1ce4b2f44df74bac91ff5ddcbf903572577005bc
tree7aaa44a06838de808366d2e393c5a53279e9399e
parent879c7220e828af8bd82ea9d774c7e45c46b976e4
net: pktgen: Remove unused 'allocated_skbs' field

Field pktgen_dev.allocated_skbs had been written to, but never read
from. The number of allocated skbs can be deduced anyway, from the total
number of sent packets and the 'clone_skb' param.

Signed-off-by: Bogdan Hamciuc <bogdan.hamciuc@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/pktgen.c