dpaa2-eth: Fix minor bug in ethtool stats reporting
authorIoana Radulescu <ruxandra.radulescu@nxp.com>
Mon, 7 Oct 2019 11:38:27 +0000 (14:38 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Oct 2019 14:08:09 +0000 (10:08 -0400)
commit4b177f065e7ec37399b18e18412a8c7b75f8f299
tree1f069b1c399a070968c6b400d480231b1d1b02a9
parent219684a58d7226cd66438f9a72c35679d4cabadd
dpaa2-eth: Fix minor bug in ethtool stats reporting

Don't print error message for a successful return value.

Fixes: d84c3a4ded96 ("dpaa2-eth: Add new DPNI statistics counters")

Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c