net: caif: remove unused structs
Subsystems (2)
PATCH 1/1 net: caif: remove unused structs
From: "Dr. David Alan Gilbert" <[email protected]>
'cfpktq' has been unused since
commit 73d6ac633c6c ("caif: code cleanup").
'caif_packet_funcs' is declared but never defined.
Remove both of them.
--- include/net/caif/caif_layer.h | 2 -- net/caif/cfpkt_skbuff.c | 7 ------- 2 files changed, 9 deletions(-)
include/net/caif/caif_layer.h +0 -2
@@ -11,9 +11,7 @@struct cflayer ;struct cfpkt ; -struct cfpktq ;struct caif_payload_info ; -struct caif_packet_funcs ;#define CAIF_LAYER_NAME_SZ 16
net/caif/cfpkt_skbuff.c +0 -7
@@ -21,13 +21,6 @@ do { \pr_warn (errmsg); \ }while (0 ) -struct cfpktq { -struct sk_buff_head head; -atomic_t count; -/* Lock protects count updates */ -spinlock_t lock; -}; -/* * net/caif/ is generic and does not * understand SKB, so we do this typecast
Signature · 1 line
2.45.1
Quoted 11 lines · On 5/31/2024 4:29 PM, [email protected] wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
'cfpktq' has been unused since
commit73d6ac633c6c("caif: code cleanup").'
caif_packet_funcs' is declared but never defined.Remove both of them.
Signed-off-by Dr. David Alan Gilbert <[email protected]>---
This patch was applied to netdev/net-next.git (main) by David S. Miller <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by David S. Miller <[email protected]>:
Quoted 8 lines · On Sat, 1 Jun 2024 00:29:17 +0100 you wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
'cfpktq' has been unused since
commit73d6ac633c6c("caif: code cleanup").'
caif_packet_funcs' is declared but never defined.[...]
Here is the summary with links:
- net: caif: remove unused structs
https://git.kernel.org/netdev/net-next/c/6f49c3fb563c
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html