* [PATCH net-next] caif: Remove unused cfsrvl_getphyid
@ 2024-10-07 0:44 linux
2024-10-08 16:35 ` Simon Horman
2024-10-08 23:20 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: linux @ 2024-10-07 0:44 UTC (permalink / raw)
To: davem, edumazet, kuba, pabeni, netdev
Cc: linux-kernel, Dr. David Alan Gilbert
From: "Dr. David Alan Gilbert" <linux@treblig.org>
cfsrvl_getphyid() has been unused since 2011's commit
f36214408470 ("caif: Use RCU and lists in cfcnfg.c for managing caif link layers")
Remove it.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
---
include/net/caif/cfsrvl.h | 1 -
net/caif/cfsrvl.c | 6 ------
2 files changed, 7 deletions(-)
diff --git a/include/net/caif/cfsrvl.h b/include/net/caif/cfsrvl.h
index 5ee7b322e18b..a000dc45f966 100644
--- a/include/net/caif/cfsrvl.h
+++ b/include/net/caif/cfsrvl.h
@@ -40,7 +40,6 @@ void cfsrvl_init(struct cfsrvl *service,
struct dev_info *dev_info,
bool supports_flowctrl);
bool cfsrvl_ready(struct cfsrvl *service, int *err);
-u8 cfsrvl_getphyid(struct cflayer *layer);
static inline void cfsrvl_get(struct cflayer *layr)
{
diff --git a/net/caif/cfsrvl.c b/net/caif/cfsrvl.c
index 9cef9496a707..171fa32ada85 100644
--- a/net/caif/cfsrvl.c
+++ b/net/caif/cfsrvl.c
@@ -183,12 +183,6 @@ bool cfsrvl_ready(struct cfsrvl *service, int *err)
return true;
}
-u8 cfsrvl_getphyid(struct cflayer *layer)
-{
- struct cfsrvl *servl = container_obj(layer);
- return servl->dev_info.id;
-}
-
bool cfsrvl_phyid_match(struct cflayer *layer, int phyid)
{
struct cfsrvl *servl = container_obj(layer);
--
2.46.2
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH net-next] caif: Remove unused cfsrvl_getphyid
2024-10-07 0:44 [PATCH net-next] caif: Remove unused cfsrvl_getphyid linux
@ 2024-10-08 16:35 ` Simon Horman
2024-10-08 23:20 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2024-10-08 16:35 UTC (permalink / raw)
To: linux; +Cc: davem, edumazet, kuba, pabeni, netdev, linux-kernel
On Mon, Oct 07, 2024 at 01:44:56AM +0100, linux@treblig.org wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
>
> cfsrvl_getphyid() has been unused since 2011's commit
> f36214408470 ("caif: Use RCU and lists in cfcnfg.c for managing caif link layers")
>
> Remove it.
>
> Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Reviewed-by: Simon Horman <horms@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH net-next] caif: Remove unused cfsrvl_getphyid
2024-10-07 0:44 [PATCH net-next] caif: Remove unused cfsrvl_getphyid linux
2024-10-08 16:35 ` Simon Horman
@ 2024-10-08 23:20 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2024-10-08 23:20 UTC (permalink / raw)
To: Dr. David Alan Gilbert
Cc: davem, edumazet, kuba, pabeni, netdev, linux-kernel
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Mon, 7 Oct 2024 01:44:56 +0100 you wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
>
> cfsrvl_getphyid() has been unused since 2011's commit
> f36214408470 ("caif: Use RCU and lists in cfcnfg.c for managing caif link layers")
>
> Remove it.
>
> [...]
Here is the summary with links:
- [net-next] caif: Remove unused cfsrvl_getphyid
https://git.kernel.org/netdev/net-next/c/3fe3dbaf2672
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] 3+ messages in thread
end of thread, other threads:[~2024-10-08 23:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-07 0:44 [PATCH net-next] caif: Remove unused cfsrvl_getphyid linux
2024-10-08 16:35 ` Simon Horman
2024-10-08 23:20 ` patchwork-bot+netdevbpf
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).