Message ID | 20230802130716.37308-1-yuehaibing@huawei.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 992725ff32f534eaa13adfa37f933d4fbf1aa040 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net-next] net: Space.h: Remove unused function declarations | expand |
On Wed, 2 Aug 2023 21:07:16 +0800 Yue Haibing <yuehaibing@huawei.com> wrote: > Commit 5aa83a4c0a15 (" [PATCH] remove two obsolete net drivers") remove fmv18x_probe(). > And commmit 01f4685797a5 ("eth: amd: remove NI6510 support (ni65)") leave ni65_probe(). > Commit a10079c66290 ("staging: remove hp100 driver") remove hp100 driver and hp100_probe() > declaration is not used anymore. > > sonic_probe() and iph5526_probe() are never implemented since the beginning of git history. > > Signed-off-by: Yue Haibing <yuehaibing@huawei.com> The static setup in Space.h is a legacy from early days (pre 2.6). Should go away, but probably has to wait until ISA bus support goes away.
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <kuba@kernel.org>: On Wed, 2 Aug 2023 21:07:16 +0800 you wrote: > Commit 5aa83a4c0a15 (" [PATCH] remove two obsolete net drivers") remove fmv18x_probe(). > And commmit 01f4685797a5 ("eth: amd: remove NI6510 support (ni65)") leave ni65_probe(). > Commit a10079c66290 ("staging: remove hp100 driver") remove hp100 driver and hp100_probe() > declaration is not used anymore. > > sonic_probe() and iph5526_probe() are never implemented since the beginning of git history. > > [...] Here is the summary with links: - [net-next] net: Space.h: Remove unused function declarations https://git.kernel.org/netdev/net-next/c/992725ff32f5 You are awesome, thank you!
diff --git a/include/net/Space.h b/include/net/Space.h index 08ca9cef0213..c29f3d51c078 100644 --- a/include/net/Space.h +++ b/include/net/Space.h @@ -3,18 +3,11 @@ * ethernet adaptor have the name "eth[0123...]". */ -struct net_device *hp100_probe(int unit); struct net_device *ultra_probe(int unit); struct net_device *wd_probe(int unit); struct net_device *ne_probe(int unit); -struct net_device *fmv18x_probe(int unit); -struct net_device *ni65_probe(int unit); -struct net_device *sonic_probe(int unit); struct net_device *smc_init(int unit); struct net_device *cs89x0_probe(int unit); struct net_device *tc515_probe(int unit); struct net_device *lance_probe(int unit); struct net_device *cops_probe(int unit); - -/* Fibre Channel adapters */ -int iph5526_probe(struct net_device *dev);
Commit 5aa83a4c0a15 (" [PATCH] remove two obsolete net drivers") remove fmv18x_probe(). And commmit 01f4685797a5 ("eth: amd: remove NI6510 support (ni65)") leave ni65_probe(). Commit a10079c66290 ("staging: remove hp100 driver") remove hp100 driver and hp100_probe() declaration is not used anymore. sonic_probe() and iph5526_probe() are never implemented since the beginning of git history. Signed-off-by: Yue Haibing <yuehaibing@huawei.com> --- include/net/Space.h | 7 ------- 1 file changed, 7 deletions(-)