Przeglądaj źródła

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 lat temu
rodzic
commit
9371dd685d
1 zmienionych plików z 0 dodań i 3 usunięć
  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;
 	return true;
 }
 }