From: Amitoj Kaur Chawla Date: Mon, 5 Oct 2015 14:20:50 +0000 (+0530) Subject: staging: vt6655: Remove true comparison X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=137e37d0edaec1c6d08159e06253c1057f281182;p=deliverable%2Flinux.git 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 --- 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) {