mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 17:51:43 +00:00
ath9k: remove useless conditional
ath9k_hw_keyreset returns true in either branch. Signed-off-by: Bob Copeland <me@bobcopeland.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
4fb30784c7
commit
9371dd685d
@ -7193,9 +7193,6 @@ bool ath9k_hw_keyreset(struct ath_hal *ah, u16 entry)
|
||||
|
||||
}
|
||||
|
||||
if (ah->ah_curchan == NULL)
|
||||
return true;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user