mirror of
https://github.com/torvalds/linux.git
synced 2024-12-23 11:21:33 +00: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:
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user