From: Luis R. Rodriguez Date: Mon, 3 Aug 2009 19:24:56 +0000 (-0700) Subject: ath9k: remove spurious check for channel on keycache reset X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=39068d1c2810077377fc2ffcfbe380bfbed696cb;p=linux-beck.git ath9k: remove spurious check for channel on keycache reset ath9k_hw_keyreset() has a spurious check for ah->curchan.. remove it. Signed-off-by: Luis R. Rodriguez Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index 08715299f75d..0d60b3573500 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c @@ -2496,9 +2496,6 @@ bool ath9k_hw_keyreset(struct ath_hw *ah, u16 entry) } - if (ah->curchan == NULL) - return true; - return true; }