mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-01 03:44:27 -04:00
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@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
35a53b9a37
commit
f57329c6fc
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user