staging: vt6655: Remove true comparison
PATCH 1/1 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 <[email protected]>
--- drivers/staging/vt6655/card.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/vt6655/card.c +1 -1
@@ -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) {
Signature · 1 line
1.9.1