Skip to content

Commit 201dddf

Browse files
lunnPaolo Abeni
authored andcommitted
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>
1 parent 96b4887 commit 201dddf

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

drivers/net/ethernet/faraday/ftgmac100.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2115,8 +2115,6 @@ static void ftgmac100_remove(struct platform_device *pdev)
21152115

21162116
ftgmac100_phy_disconnect(netdev);
21172117
ftgmac100_destroy_mdio(netdev);
2118-
2119-
netif_napi_del(&priv->napi);
21202118
}
21212119

21222120
static const struct ftgmac100_match_data ftgmac100_match_data_ast2400 = {

0 commit comments

Comments
 (0)