* [PATCH] ath9k: Remove empty test condition
@ 2016-05-02 15:44 Eduardo Abinader
2016-05-28 8:17 ` Kalle Valo
0 siblings, 1 reply; 2+ messages in thread
From: Eduardo Abinader @ 2016-05-02 15:44 UTC (permalink / raw)
To: linux-wireless; +Cc: Eduardo Abinader, ath9k-devel, kvalo, ath9k-devel
Just some code cleanup to remove an empty if clause.
Signed-off-by: Eduardo Abinader <eduardo.abinader@riverbed.com>
---
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
index f680982..eb206c1 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,
--
2.5.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: ath9k: Remove empty test condition
2016-05-02 15:44 [PATCH] ath9k: Remove empty test condition Eduardo Abinader
@ 2016-05-28 8:17 ` Kalle Valo
0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2016-05-28 8:17 UTC (permalink / raw)
To: Eduardo Abinader
Cc: linux-wireless, Eduardo Abinader, ath9k-devel, ath9k-devel
Eduardo Abinader <eabinader@ocedo.com> wrote:
> Just some code cleanup to remove an empty if clause.
>
> Signed-off-by: Eduardo Abinader <eduardo.abinader@riverbed.com>
Thanks, 1 patch applied to ath.git:
ceda5153d8cd ath9k: Remove empty test condition
--
Sent by pwcli
https://patchwork.kernel.org/patch/8993501/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-05-28 8:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-02 15:44 [PATCH] ath9k: Remove empty test condition Eduardo Abinader
2016-05-28 8:17 ` Kalle Valo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).