From: Andrew Lunn Date: Fri, 6 Feb 2026 03:17:54 +0000 (+0800) Subject: net: ftgmac100: Fix wrong netif_napi_del in release X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=201dddf68899581f0339617f1da98b2b38a3b4a8;p=thirdparty%2Fkernel%2Flinux.git 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 Reviewed-by: Simon Horman Signed-off-by: Jacky Chou Link: https://patch.msgid.link/20260206-ftgmac-cleanup-v5-14-ad28a9067ea7@aspeedtech.com Signed-off-by: Paolo Abeni --- diff --git a/drivers/net/ethernet/faraday/ftgmac100.c b/drivers/net/ethernet/faraday/ftgmac100.c index 410c5ab825165..e3b69451d436e 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 = {