summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2026-05-20 20:14:53 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2026-05-23 04:31:41 +0300
commitf199cee401f7dc7280c8ed070d2433478253b665 (patch)
tree784ce8d3f508a24e59e8f8beacf6cb44a57a81a2 /scripts
parent0f51fd84684316375d5c191a1ec5e18743fb1601 (diff)
downloadlinux-f199cee401f7dc7280c8ed070d2433478253b665.tar.xz
scsi: scsi_debug: Remove unused variable sdebug_any_injecting_opt
The static variable sdebug_any_injecting_opt is no longer read. Commit 3a90a63d02b8 ("scsi: scsi_debug: every_nth triggered error injection") removed all code that reads this variable. Hence, also remove this variable itself. Remove SDEBUG_OPT_ALL_INJECTING because there is no code left that uses this constant if sdebug_any_injecting_opt is removed. This has been detected by building the scsi_debug driver with the git HEAD version of Clang and with W=1. Signed-off-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: John Garry <john.g.garry@oracle.com> Link: https://patch.msgid.link/20260520171454.4035623-1-bvanassche@acm.org Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions