]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0b69f7eecb933632afb81b26c94a917e7ef81a64
tree7aaa44a06838de808366d2e393c5a53279e9399e
parenta6f6340e13b85894a94241eab2a3a1c21805c1d7
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