mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-14 15:55:28 -04:00
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 <amitoj1606@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
b438000683
commit
137e37d0ed
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user