Commit 137e37d0 authored by Amitoj Kaur Chawla's avatar Amitoj Kaur Chawla Committed by Greg Kroah-Hartman

staging: vt6655: Remove true comparison

Remove comparison to true in if statement. Problem found using
checkpatch.pl
CHECK: Using comparison to true is error prone
Signed-off-by: default avatarAmitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b4380006
......@@ -428,7 +428,7 @@ bool CARDbRadioPowerOff(struct vnt_private *pDevice)
{
bool bResult = true;
if (pDevice->bRadioOff == true)
if (pDevice->bRadioOff)
return true;
switch (pDevice->byRFType) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment