ath9k: remove useless conditional
authorBob Copeland <me@bobcopeland.com>
Sun, 26 Oct 2008 15:24:48 +0000 (11:24 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 31 Oct 2008 23:02:34 +0000 (19:02 -0400)
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>
drivers/net/wireless/ath9k/hw.c

index 84263c862ea4dc9375f839a070ae392f2cd4ec03..1417ba07523dafc7a328b6b9368e147be23ca495 100644 (file)
@@ -7193,9 +7193,6 @@ bool ath9k_hw_keyreset(struct ath_hal *ah, u16 entry)
 
        }
 
-       if (ah->ah_curchan == NULL)
-               return true;
-
        return true;
 }