diff options
author | Luis de Bethencourt <luisbg@osg.samsung.com> | 2015-10-15 13:31:11 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-16 23:05:17 -0700 |
commit | 17accc46ec6e015a48c5afd281381a33d6b1da16 (patch) | |
tree | fd41bcfaba400473b4635a3b7b5fc9d3ed7cee36 | |
parent | 4b1443a248c5073d0e11e1f26bf7d8522d193b63 (diff) | |
download | op-kernel-dev-17accc46ec6e015a48c5afd281381a33d6b1da16.zip op-kernel-dev-17accc46ec6e015a48c5afd281381a33d6b1da16.tar.gz |
staging: vt6655: Remove boolean comparisons
Boolean tests do not need explicit comparison to true or false.
Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/vt6655/card.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/vt6655/card.c b/drivers/staging/vt6655/card.c index 4640b56..e0bf39e 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; } |