]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: ftgmac100: Fix wrong netif_napi_del in release
authorAndrew Lunn <andrew@lunn.ch>
Fri, 6 Feb 2026 03:17:54 +0000 (11:17 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 10 Feb 2026 12:40:51 +0000 (13:40 +0100)
commit201dddf68899581f0339617f1da98b2b38a3b4a8
tree128e3a132c136800ba1d95d03b5e729f66dd68f4
parent96b4887a718ca6750762f7f5cc2e6f5c8a1f97f9
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>
drivers/net/ethernet/faraday/ftgmac100.c