瀏覽代碼

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>
Bob Copeland 16 年之前
父節點
當前提交
9371dd685d
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      drivers/net/wireless/ath9k/hw.c

+ 0 - 3
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;
 }