diff options
author | Colin Ian King <[email protected]> | 2024-04-15 11:43:11 +0100 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2024-04-24 21:13:41 -0400 |
commit | cb3bfbfa1ffab89e10c093e3bfcc4cf229ad5ab7 (patch) | |
tree | 91991e0b40d829f652543b8d9743c19de657647f /scripts/gcc-plugins/randomize_layout_plugin.c | |
parent | 28027ec8e32ecbadcd67623edb290dad61e735b5 (diff) |
scsi: bnx2fc: Remove redundant assignment to variable 'i'
The variable 'i' is being assigned a value that is never read, the
following code path via the label ofld_err never refers to the
variable. The assignment is redundant and can be removed.
Cleans up clang scan warning:
drivers/scsi/bnx2fc/bnx2fc_tgt.c:132:5: warning: Value stored to 'i'
is never read [deadcode.DeadStores]
Signed-off-by: Colin Ian King <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions