mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-23 20:24:12 +08:00
net: caif: remove unused structs
'cfpktq' has been unused since
commit 73d6ac633c
("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>
This commit is contained in:
parent
61e2bbafb0
commit
6f49c3fb56
@ -11,9 +11,7 @@
|
||||
|
||||
struct cflayer;
|
||||
struct cfpkt;
|
||||
struct cfpktq;
|
||||
struct caif_payload_info;
|
||||
struct caif_packet_funcs;
|
||||
|
||||
#define CAIF_LAYER_NAME_SZ 16
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user