diff options
author | 2023-10-25 00:04:01 +0530 | |
---|---|---|
committer | 2023-10-24 22:44:35 -0400 | |
commit | 6997283f64d968cf6bc8a68876930f67f48e1a6c (patch) | |
tree | bf66218afd98271cfe108cced3b6fa66e785ec1a /scripts/gdb/linux/tasks.py | |
parent | scsi: ufs: core: Fix race between force complete and ISR (diff) | |
download | wireguard-linux-6997283f64d968cf6bc8a68876930f67f48e1a6c.tar.xz wireguard-linux-6997283f64d968cf6bc8a68876930f67f48e1a6c.zip |
scsi: ufs: core: Conversion to bool not necessary
A logical evaluation already results in bool. There is no need for using a
ternary operator based evaluation and bool conversion of the outcome.
Issue identified using boolconv.cocci Coccinelle semantic patch.
Signed-off-by: Bragatheswaran Manickavel <bragathemanick0908@gmail.com>
Link: https://lore.kernel.org/r/20231024183401.48888-1-bragathemanick0908@gmail.com
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions