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-Tag: v2.6.32-rc1~703^2~459^2~7 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39068d1c2810077377fc2ffcfbe380bfbed696cb;p=pandora-kernel.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; }