diff options
| author | Andrew Lunn <andrew@lunn.ch> | 2026-02-06 11:17:54 +0800 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-02-10 13:40:51 +0100 |
| commit | 201dddf68899581f0339617f1da98b2b38a3b4a8 (patch) | |
| tree | 128e3a132c136800ba1d95d03b5e729f66dd68f4 | |
| parent | 96b4887a718ca6750762f7f5cc2e6f5c8a1f97f9 (diff) | |
net: ftgmac100: Fix wrong netif_napi_del in release
netif_napi_add() is called in open. There is a symmetric call to
netif_napi_del() in stop. Remove to wrong call to netif_napi_del() in
release.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Jacky Chou <jacky_chou@aspeedtech.com>
Link: https://patch.msgid.link/20260206-ftgmac-cleanup-v5-14-ad28a9067ea7@aspeedtech.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
| -rw-r--r-- | drivers/net/ethernet/faraday/ftgmac100.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/faraday/ftgmac100.c b/drivers/net/ethernet/faraday/ftgmac100.c index 410c5ab82516..e3b69451d436 100644 --- a/drivers/net/ethernet/faraday/ftgmac100.c +++ b/drivers/net/ethernet/faraday/ftgmac100.c @@ -2115,8 +2115,6 @@ static void ftgmac100_remove(struct platform_device *pdev) ftgmac100_phy_disconnect(netdev); ftgmac100_destroy_mdio(netdev); - - netif_napi_del(&priv->napi); } static const struct ftgmac100_match_data ftgmac100_match_data_ast2400 = { |
