diff options
author | Tom Rix <[email protected]> | 2023-03-29 09:24:21 -0400 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2023-04-02 21:35:52 -0400 |
commit | aa4d7812cf2cb0847e027d0e2a124926eea9d4fb (patch) | |
tree | c7c26e3a0125a27e2d9db3a189a729a0784709ab /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 0e4b1791d9b192ac263a03707d876132eb0f8dab (diff) |
scsi: target: core: Remove unused 'prod_len' variable
clang with W=1 reports:
drivers/target/target_core_spc.c:229:6: error: variable
'prod_len' set but not used [-Werror,-Wunused-but-set-variable]
u32 prod_len;
^
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: Chaitanya Kulkarni <[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