diff options
author | Amitoj Kaur Chawla <amitoj1606@gmail.com> | 2015-10-05 14:20:50 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-08 09:25:32 (GMT) |
commit | 137e37d0edaec1c6d08159e06253c1057f281182 (patch) | |
tree | fabe9e03c6b63bb3a677f30f707f16c0a6d1d021 /drivers/staging/vt6655 | |
parent | b438000683c91b8c30f889a25ce01868dbc161bc (diff) | |
download | linux-137e37d0edaec1c6d08159e06253c1057f281182.tar.xz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/vt6655/card.c b/drivers/staging/vt6655/card.c index ecbe94f..f842be6 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) { |