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

Commit 299902b5 authored by Camelia Groza's avatar Camelia Groza Committed by Greg Kroah-Hartman
Browse files

dpaa_eth: remove duplicate increment of the tx_errors counter




[ Upstream commit 82d141cd19d088ee41feafde4a6f86eeb40d93c5 ]

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>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5bf75fca
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -2022,7 +2022,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;
	}