diff options
author | Sujith Manoharan <c_manoha@qca.qualcomm.com> | 2015-01-30 16:35:31 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-02-03 16:31:08 +0300 |
commit | 34d102c921100a70d8262adc1afc09f492782778 (patch) | |
tree | c735de3eb9b7cfffb3ca1138238d052067ba63d1 /drivers/net/wireless/ath/ath9k/ath9k.h | |
parent | 8b861715087fe17796fe411eff1c7f7e493d0d10 (diff) | |
download | linux-34d102c921100a70d8262adc1afc09f492782778.tar.xz |
ath9k: Simplify user pattern configuration
There is no need to allocate a new structure and
free it for every user pattern, instead use local
variables.
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ath9k.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ath9k.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h index 20216c56e158..0f8e9464e4ab 100644 --- a/drivers/net/wireless/ath/ath9k/ath9k.h +++ b/drivers/net/wireless/ath/ath9k/ath9k.h @@ -830,12 +830,6 @@ static inline void ath_fill_led_pin(struct ath_softc *sc) /* Wake on Wireless LAN */ /************************/ -struct ath9k_wow_pattern { - u8 pattern_bytes[MAX_PATTERN_SIZE]; - u8 mask_bytes[MAX_PATTERN_SIZE]; - u32 pattern_len; -}; - #ifdef CONFIG_ATH9K_WOW void ath9k_init_wow(struct ieee80211_hw *hw); void ath9k_deinit_wow(struct ieee80211_hw *hw); |