netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] net: Space.h: Remove unused function declarations
@ 2023-08-02  3:52 Yue Haibing
  0 siblings, 0 replies; 4+ messages in thread
From: Yue Haibing @ 2023-08-02  3:52 UTC (permalink / raw)
  To: davem, edumazet, kuba, pabeni, yuehaibing; +Cc: netdev

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(-)

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);
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH net-next] net: Space.h: Remove unused function declarations
@ 2023-08-02 13:07 Yue Haibing
  2023-08-02 16:41 ` Stephen Hemminger
  2023-08-04  1:30 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 4+ messages in thread
From: Yue Haibing @ 2023-08-02 13:07 UTC (permalink / raw)
  To: davem, edumazet, kuba, pabeni, yuehaibing; +Cc: netdev

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(-)

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);
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH net-next] net: Space.h: Remove unused function declarations
  2023-08-02 13:07 [PATCH net-next] net: Space.h: Remove unused function declarations Yue Haibing
@ 2023-08-02 16:41 ` Stephen Hemminger
  2023-08-04  1:30 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 4+ messages in thread
From: Stephen Hemminger @ 2023-08-02 16:41 UTC (permalink / raw)
  To: Yue Haibing; +Cc: davem, edumazet, kuba, pabeni, netdev

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH net-next] net: Space.h: Remove unused function declarations
  2023-08-02 13:07 [PATCH net-next] net: Space.h: Remove unused function declarations Yue Haibing
  2023-08-02 16:41 ` Stephen Hemminger
@ 2023-08-04  1:30 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 4+ messages in thread
From: patchwork-bot+netdevbpf @ 2023-08-04  1:30 UTC (permalink / raw)
  To: Yue Haibing; +Cc: davem, edumazet, kuba, pabeni, netdev

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!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-08-04  1:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-02 13:07 [PATCH net-next] net: Space.h: Remove unused function declarations Yue Haibing
2023-08-02 16:41 ` Stephen Hemminger
2023-08-04  1:30 ` patchwork-bot+netdevbpf
  -- strict thread matches above, loose matches on Subject: below --
2023-08-02  3:52 Yue Haibing

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).