From: Luis de Bethencourt Date: Thu, 15 Oct 2015 12:31:11 +0000 (+0100) Subject: staging: vt6655: Remove boolean comparisons X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=17accc46ec6e015a48c5afd281381a33d6b1da16;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: vt6655: Remove boolean comparisons Boolean tests do not need explicit comparison to true or false. Signed-off-by: Luis de Bethencourt Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6655/card.c b/drivers/staging/vt6655/card.c index 4640b56ecd37..e0bf39e07c6d 100644 --- a/drivers/staging/vt6655/card.c +++ b/drivers/staging/vt6655/card.c @@ -472,14 +472,14 @@ bool CARDbRadioPowerOn(struct vnt_private *pDevice) bool bResult = true; pr_debug("chester power on\n"); - if (pDevice->bRadioControlOff == true) { - if (pDevice->bHWRadioOff == true) + if (pDevice->bRadioControlOff) { + if (pDevice->bHWRadioOff) pr_debug("chester bHWRadioOff\n"); - if (pDevice->bRadioControlOff == true) + if (pDevice->bRadioControlOff) pr_debug("chester bRadioControlOff\n"); return false; } - if (pDevice->bRadioOff == false) { + if (!pDevice->bRadioOff) { pr_debug("chester pbRadioOff\n"); return true; }