diff options
author | Tom Rix <[email protected]> | 2023-03-25 20:32:22 -0400 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2023-04-02 21:37:57 -0400 |
commit | e324dd00fd17906ad9f0386f5e15d78da2e2b9fe (patch) | |
tree | a94f1b6e19bbf558112c621a211b9c901e5b0c52 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | ca62009eff728c0a62ea76184adcc6be411f4066 (diff) |
scsi: scsi_transport_fc: Remove unused 'desc_cnt' variable
clang with W=1 reports:
drivers/scsi/scsi_transport_fc.c:908:6: error: variable
'desc_cnt' set but not used [-Werror,-Wunused-but-set-variable]
u32 desc_cnt = 0, bytes_remain;
^
This variable is not used so remove it.
Signed-off-by: Tom Rix <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Himanshu Madhani <[email protected]>
Reviewed-by: Benjamin Block <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions