From 137e37d0edaec1c6d08159e06253c1057f281182 Mon Sep 17 00:00:00 2001 From: Amitoj Kaur Chawla Date: Mon, 5 Oct 2015 19:50:50 +0530 Subject: [PATCH] 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/vt6655/card.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.20.1