aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2022-08-05 12:50:42 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2022-08-31 23:39:57 -0400
commit4e62671a9a49c0f226311cbac08cdb64e905ab47 (patch)
treec10556cbbcd3b7024217b4ac3954cad53dfa7d04 /tools/perf/scripts/python/exported-sql-viewer.py
parentscsi: initio: Remove redundant assignment to pointer scb (diff)
downloadlinux-dev-4e62671a9a49c0f226311cbac08cdb64e905ab47.tar.xz
linux-dev-4e62671a9a49c0f226311cbac08cdb64e905ab47.zip
scsi: megaraid: Remove redundant assignment to variable mfiStatus
The variable mfiStatus is assigned a value but it is never read. The assignment is redundant and can be removed. Also remove { } as the return statement does not need to be in its own code block. Cleans up clang scan build warning: drivers/scsi/megaraid/megaraid_sas_base.c:4026:7: warning: Although the value stored to 'mfiStatus' is used in the enclosing expression, the value is never actually read from 'mfiStatus' [deadcode.DeadStores] Link: https://lore.kernel.org/r/20220805115042.2340400-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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions