From: Eduardo Abinader Date: Mon, 2 May 2016 15:44:11 +0000 (+0200) Subject: ath9k: Remove empty test condition X-Git-Tag: v4.8-rc1~140^2~279^2^2~28 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ceda5153d8cde4b05df1db33e8d76394949d616c;p=karo-tx-linux.git ath9k: Remove empty test condition Just some code cleanup to remove an empty if clause. Signed-off-by: Eduardo Abinader Signed-off-by: Kalle Valo --- diff --git a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c index dec1a317a070..d0224fc58e78 100644 --- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c +++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c @@ -3202,8 +3202,7 @@ static int ar9300_compress_decision(struct ath_hw *ah, it, length); break; case _CompressBlock: - if (reference == 0) { - } else { + if (reference != 0) { eep = ar9003_eeprom_struct_find_by_id(reference); if (eep == NULL) { ath_dbg(common, EEPROM,