net: ti: icssg-prueth: Remove duplicate cleanup calls in emac_ndo_stop()
authorDiogo Ivo <diogo.ivo@siemens.com>
Thu, 15 Feb 2024 15:22:01 +0000 (15:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Feb 2024 11:53:49 +0000 (11:53 +0000)
commit1d085e9ce384c2014b967b0ddefd4ce7220dd445
treefda4adb0e506bb5f2f032402830cd496f1e2bab2
parent21bd52ea38a873b9dce2da86e9d63a95cdbe1275
net: ti: icssg-prueth: Remove duplicate cleanup calls in emac_ndo_stop()

Remove the duplicate calls to prueth_emac_stop() and
prueth_cleanup_tx_chns() in emac_ndo_stop().

Signed-off-by: Diogo Ivo <diogo.ivo@siemens.com>
Reviewed-by: Roger Quadros <rogerq@kernel.org>
Reviewed-by: MD Danish Anwar <danishanwar@ti.com>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/icssg/icssg_prueth.c