mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 08:46:46 +00:00
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>
This commit is contained in:
parent
4b1443a248
commit
17accc46ec
1 changed files with 4 additions and 4 deletions
|
@ -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; }
|
||||
|
||||
|
|
Loading…
Reference in a new issue