Skip to contentSkip to conversation

make ieee80211_get_hdr_info static

PATCH New Johannes Berg 1 participant 1 message Mar 6, 2007 mac80211

lore
Share & tools
lore

Johannes Berg

author maintainer
#0 lore raw

PATCH 1/1 make ieee80211_get_hdr_info static

This patch makes the ieee80211_get_hdr_info function which is only used in wpa.c static.

---
 net/mac80211/wpa.c |    4 ++--
 net/mac80211/wpa.h |    3 ---
 2 files changed, 2 insertions(+), 5 deletions(-)
net/mac80211/wpa.c +2 -2
@@ -25,8 +25,8 @@
 #endif /* CONFIG_HOSTAPD_WPA_TESTING */
 
 
-int ieee80211_get_hdr_info(const struct sk_buff *skb, u8 **sa, u8 **da,
-			   u8 *qos_tid, u8 **data, size_t *data_len)
+static int ieee80211_get_hdr_info(const struct sk_buff *skb, u8 **sa, u8 **da,
+				  u8 *qos_tid, u8 **data, size_t *data_len)
 {
 	struct ieee80211_hdr *hdr;
 	size_t hdrlen;
net/mac80211/wpa.h +0 -3
@@ -28,7 +28,4 @@ ieee80211_tx_h_ccmp_encrypt(struct ieee8
 ieee80211_txrx_result
 ieee80211_rx_h_ccmp_decrypt(struct ieee80211_txrx_data *rx);
 
-int ieee80211_get_hdr_info(const struct sk_buff *skb, u8 **sa, u8 **da,
-			   u8 *qos_tid, u8 **data, size_t *data_len);
-
 #endif /* WPA_H */