diff options
author | Bob Copeland <me@bobcopeland.com> | 2008-10-26 11:24:48 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-10-31 19:02:34 -0400 |
commit | 9371dd685d212599f0f07e6bf1510c751f70bb37 (patch) | |
tree | e8fb3b1c10f547910c71a98c0aa9078463415eb6 /drivers/net | |
parent | 4fb30784c720b863203957f76e3fde0d53932746 (diff) | |
download | linux-9371dd685d212599f0f07e6bf1510c751f70bb37.tar.gz linux-9371dd685d212599f0f07e6bf1510c751f70bb37.tar.bz2 linux-9371dd685d212599f0f07e6bf1510c751f70bb37.zip |
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/ath9k/hw.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath9k/hw.c b/drivers/net/wireless/ath9k/hw.c index 84263c862ea4..1417ba07523d 100644 --- a/drivers/net/wireless/ath9k/hw.c +++ b/drivers/net/wireless/ath9k/hw.c @@ -7193,9 +7193,6 @@ bool ath9k_hw_keyreset(struct ath_hal *ah, u16 entry) } - if (ah->ah_curchan == NULL) - return true; - return true; } |