make ieee80211_get_hdr_info static
Johannes Berg
maintainerPATCH 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.
Signed-off-by Johannes Berg <[email protected]>
--- 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 ieee8ieee80211_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 */