Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 82d141cd authored by Camelia Groza's avatar Camelia Groza Committed by David S. Miller
Browse files

dpaa_eth: remove duplicate increment of the tx_errors counter



The tx_errors counter is incremented by the dpaa_xmit caller.

Signed-off-by: default avatarCamelia Groza <camelia.groza@nxp.com>
Signed-off-by: default avatarMadalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e4d1b37c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -2008,7 +2008,6 @@ static inline int dpaa_xmit(struct dpaa_priv *priv,
	}

	if (unlikely(err < 0)) {
		percpu_stats->tx_errors++;
		percpu_stats->tx_fifo_errors++;
		return err;
	}