summaryrefslogtreecommitdiff
path: root/pcap_rw.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-06-09 12:03:40 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-06-09 12:05:36 +0200
commit586daa5c53e99e0327dec27dfdaf6f5436d0c92c (patch)
treea5838039bd89a5f25ad84b3670ccb6958a2e35e4 /pcap_rw.c
parent4d1057fcb06e9d26cece9dbae8e62bf57bacd68c (diff)
ifpps: Don't re-initialize stats value index counter in CSV mode
In case we add new stats values, j might be higher already when entering the loop. As j will have the proper number anyway, there is no point in re-initializing. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'pcap_rw.c')
0 files changed, 0 insertions, 0 deletions
=nds-private-remove&id=5db4992d8f040b8d8db0b86d42806e0c417f7ccf&id2=370ebb0ef6255132373ed35d13e7b1d8d2eb7003'>diff)
usbnet: pegasus: Use net_device_stats from struct net_devicends-private-remove
Instead of using a private copy of struct net_device_stats in struct pegasus, use stats from struct net_device. Also remove the now unnecessary .ndo_get_stats function. Cc: Petko Manolov <petkan@nucleusys.com> Cc: linux-usb@vger.kernel.org Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'arch/arm/boot/dts/ecx-2000.dts')