[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1505972395-27764-1-git-send-email-jananis37@gmail.com>
Date: Thu, 21 Sep 2017 11:09:55 +0530
From: Janani Sankara Babu <jananis37@...il.com>
To: gregkh@...uxfoundation.org
Cc: insafonov@...il.com, goudapatilk@...il.com,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
Janani Sankara Babu <jananis37@...il.com>
Subject: [PATCH] staging:rtl8188eu:hal Fix wrong comparison to False
This patch solves the warning "Using comparison to false is error prone"
Signed-off-by: Janani Sankara Babu <jananis37@...il.com>
---
drivers/staging/rtl8188eu/hal/odm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8188eu/hal/odm.c b/drivers/staging/rtl8188eu/hal/odm.c
index ec8aae7..001d626 100644
--- a/drivers/staging/rtl8188eu/hal/odm.c
+++ b/drivers/staging/rtl8188eu/hal/odm.c
@@ -382,7 +382,7 @@ void odm_DIG(struct odm_dm_struct *pDM_Odm)
}
/* add by Neil Chen to avoid PSD is processing */
- if (pDM_Odm->bDMInitialGainEnable == false) {
+ if (!pDM_Odm->bDMInitialGainEnable) {
ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG() Return: PSD is Processing\n"));
return;
}
--
1.9.1
Powered by blists - more mailing lists