Skip to content

Commit 82d141c

Browse files
camelia-groza-NXPdavem330
authored andcommitted
dpaa_eth: remove duplicate increment of the tx_errors counter
The tx_errors counter is incremented by the dpaa_xmit caller. Signed-off-by: Camelia Groza <[email protected]> Signed-off-by: Madalin Bucur <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent e4d1b37 commit 82d141c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/net/ethernet/freescale/dpaa/dpaa_eth.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2008,7 +2008,6 @@ static inline int dpaa_xmit(struct dpaa_priv *priv,
20082008
}
20092009

20102010
if (unlikely(err < 0)) {
2011-
percpu_stats->tx_errors++;
20122011
percpu_stats->tx_fifo_errors++;
20132012
return err;
20142013
}

0 commit comments

Comments
 (0)