summaryrefslogtreecommitdiff
path: root/drivers/staging/vt6655
diff options
context:
space:
mode:
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>2015-10-05 19:50:50 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-08 10:25:32 +0100
commit137e37d0edaec1c6d08159e06253c1057f281182 (patch)
treefabe9e03c6b63bb3a677f30f707f16c0a6d1d021 /drivers/staging/vt6655
parentb438000683c91b8c30f889a25ce01868dbc161bc (diff)
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: Amitoj Kaur Chawla <amitoj1606@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655')
-rw-r--r--drivers/staging/vt6655/card.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/vt6655/card.c b/drivers/staging/vt6655/card.c
index ecbe94f41e22..f842be64a139 100644
--- a/drivers/staging/vt6655/card.c
+++ b/drivers/staging/vt6655/card.c
@@ -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) {