projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b438000
)
staging: vt6655: Remove true comparison
author
Amitoj Kaur Chawla
<amitoj1606@gmail.com>
Mon, 5 Oct 2015 14:20:50 +0000
(19:50 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 8 Oct 2015 09:25:32 +0000
(10:25 +0100)
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>
drivers/staging/vt6655/card.c
patch
|
blob
|
history
diff --git
a/drivers/staging/vt6655/card.c
b/drivers/staging/vt6655/card.c
index ecbe94f41e22aa55e8513e69a9368916395507b1..f842be64a139199abe9564a8fa481e92dfc149ff 100644
(file)
--- 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) {