aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c
diff options
context:
space:
mode:
authorIoana Ciocoi Radulescu <ruxandra.radulescu@nxp.com>2018-11-26 16:27:33 +0000
committerDavid S. Miller <davem@davemloft.net>2018-11-28 10:57:46 -0800
commit0ff8f0aab49bb1383d848e44aedac6cfc1329f4f (patch)
tree1530e1dae76401b39f882b46663535daf634d470 /drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c
parentdpaa2-eth: Add support for XDP_TX (diff)
downloadlinux-dev-0ff8f0aab49bb1383d848e44aedac6cfc1329f4f.tar.xz
linux-dev-0ff8f0aab49bb1383d848e44aedac6cfc1329f4f.zip
dpaa2-eth: Cleanup channel stats
Remove unused counter. Reorder fields in channel stats structure to match the ethtool strings order and make it easier to print them with ethtool -S. Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c')
-rw-r--r--drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c b/drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c
index bc582c4bc0c0..d2bc5da05805 100644
--- a/drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c
+++ b/drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c
@@ -467,7 +467,6 @@ static int consume_frames(struct dpaa2_eth_channel *ch,
return 0;
fq->stats.frames += cleaned;
- ch->stats.frames += cleaned;
/* A dequeue operation only pulls frames from a single queue
* into the store. Return the frame queue as an out param.