summaryrefslogtreecommitdiff
path: root/net/caif
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <linux@treblig.org>2024-06-01 00:29:17 +0100
committerDavid S. Miller <davem@davemloft.net>2024-06-05 10:18:06 +0100
commit6f49c3fb563c0a95a838216eaf7d9b02ece44bf5 (patch)
tree3f65c3fd8819f6f543f4ad77e189cc939debf229 /net/caif
parent61e2bbafb00e4b9a5de45e6448a7b6b818658576 (diff)
net: caif: remove unused structs
'cfpktq' has been unused since commit 73d6ac633c6c ("caif: code cleanup"). 'caif_packet_funcs' is declared but never defined. Remove both of them. Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/caif')
-rw-r--r--net/caif/cfpkt_skbuff.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/net/caif/cfpkt_skbuff.c b/net/caif/cfpkt_skbuff.c
index 7796414d47e5..2ae8cfa3df88 100644
--- a/net/caif/cfpkt_skbuff.c
+++ b/net/caif/cfpkt_skbuff.c
@@ -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