2021-02-16 09:31:29

by Chen Lin

[permalink] [raw]
Subject: [PATCH] staging: wlan-ng: Remove unused function pointer typedef freebuf_method_t

From: Chen Lin <[email protected]>

Remove the 'freebuf_method_t' typedef as it is not used.

Signed-off-by: Chen Lin <[email protected]>
---
drivers/staging/wlan-ng/p80211conv.h | 3 ---
1 file changed, 3 deletions(-)

diff --git a/drivers/staging/wlan-ng/p80211conv.h b/drivers/staging/wlan-ng/p80211conv.h
index 827002c..15fd635 100644
--- a/drivers/staging/wlan-ng/p80211conv.h
+++ b/drivers/staging/wlan-ng/p80211conv.h
@@ -122,9 +122,6 @@ struct p80211_caphdr {
__be32 encoding;
};

-/* buffer free method pointer type */
-typedef void (*freebuf_method_t) (void *buf, int size);
-
struct p80211_metawep {
void *data;
u8 iv[4];
--
1.7.9.5