diff options
author | 2022-08-05 12:41:00 +0100 | |
---|---|---|
committer | 2022-08-31 23:39:57 -0400 | |
commit | 3fa5975b07e9d0ca949537aca24adc0a17e37bfc (patch) | |
tree | aa0d4c6d1bebf617d11fd9f494f6c896cd807e4b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | scsi: message: fusion: Remove redundant variable iocnum (diff) | |
download | linux-dev-3fa5975b07e9d0ca949537aca24adc0a17e37bfc.tar.xz linux-dev-3fa5975b07e9d0ca949537aca24adc0a17e37bfc.zip |
scsi: initio: Remove redundant assignment to pointer scb
The variable scb is assigned a value but it is never read. The assignment
is redundant and can be removed. Also replace the != NULL check with the
more usual non-null check idiom.
Cleans up clang scan build warning:
drivers/scsi/initio.c:1169:9: warning: Although the value stored to 'scb'
is used in the enclosing expression, the value is never actually read
from 'scb' [deadcode.DeadStores]
Link: https://lore.kernel.org/r/20220805114100.2339637-1-colin.i.king@gmail.com
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions