From: Bob Copeland Date: Sun, 26 Oct 2008 15:24:48 +0000 (-0400) Subject: ath9k: remove useless conditional X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9371dd685d212599f0f07e6bf1510c751f70bb37;p=openwrt%2Fstaging%2Fblogic.git ath9k: remove useless conditional ath9k_hw_keyreset returns true in either branch. Signed-off-by: Bob Copeland Signed-off-by: John W. Linville --- 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; }