staging: vt6655: Remove true comparison
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Mon, 5 Oct 2015 14:20:50 +0000 (19:50 +0530)
committerGreg 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

index ecbe94f41e22aa55e8513e69a9368916395507b1..f842be64a139199abe9564a8fa481e92dfc149ff 100644 (file)
@@ -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) {