Commit ceda5153 authored by Eduardo Abinader's avatar Eduardo Abinader Committed by Kalle Valo

ath9k: Remove empty test condition

Just some code cleanup to remove an empty if clause.
Signed-off-by: default avatarEduardo Abinader <eduardo.abinader@riverbed.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent 026441c9
...@@ -3202,8 +3202,7 @@ static int ar9300_compress_decision(struct ath_hw *ah, ...@@ -3202,8 +3202,7 @@ static int ar9300_compress_decision(struct ath_hw *ah,
it, length); it, length);
break; break;
case _CompressBlock: case _CompressBlock:
if (reference == 0) { if (reference != 0) {
} else {
eep = ar9003_eeprom_struct_find_by_id(reference); eep = ar9003_eeprom_struct_find_by_id(reference);
if (eep == NULL) { if (eep == NULL) {
ath_dbg(common, EEPROM, ath_dbg(common, EEPROM,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment