mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 10:04:04 +02:00
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>
This commit is contained in:
parent
96b4887a71
commit
201dddf688
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user