Commit 6f49c3fb authored by Dr. David Alan Gilbert's avatar Dr. David Alan Gilbert Committed by David S. Miller
Browse files

net: caif: remove unused structs



'cfpktq' has been unused since
commit 73d6ac63 ("caif: code cleanup").

'caif_packet_funcs' is declared but never defined.

Remove both of them.

Signed-off-by: default avatarDr. David Alan Gilbert <linux@treblig.org>
Reviewed-by: default avatarJacob Keller <jacob.e.keller@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 61e2bbaf
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -11,9 +11,7 @@

struct cflayer;
struct cfpkt;
struct cfpktq;
struct caif_payload_info;
struct caif_packet_funcs;

#define CAIF_LAYER_NAME_SZ 16

+0 −7
Original line number Diff line number Diff line
@@ -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