mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-09 18:19:06 +00:00
ath9k: Handle ATH9K_BEACON_RESET_TSF properly
Clearing a local variable is unnecessary. Get rid of it. Signed-off-by: Senthil Balasubramanian <senthilkumar@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
66afad0156
commit
1d50a69b18
1 changed files with 0 additions and 1 deletions
|
@ -3422,7 +3422,6 @@ void ath9k_hw_beaconinit(struct ath_hw *ah, u32 next_beacon, u32 beacon_period)
|
|||
|
||||
beacon_period &= ~ATH9K_BEACON_ENA;
|
||||
if (beacon_period & ATH9K_BEACON_RESET_TSF) {
|
||||
beacon_period &= ~ATH9K_BEACON_RESET_TSF;
|
||||
ath9k_hw_reset_tsf(ah);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue