Skip to content
Commit 4e0966a4 authored by Tom Rix's avatar Tom Rix Committed by Martin K. Petersen
Browse files

scsi: snic: Remove unused 'xfer_len' variable



clang with W=1 reports:

drivers/scsi/snic/snic_scsi.c:490:6: error: variable
  'xfer_len' set but not used [-Werror,-Wunused-but-set-variable]
        u64 xfer_len = 0;
            ^
This variable is not used so remove it.

Signed-off-by: default avatarTom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20230328001647.1778448-1-trix@redhat.com
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 7866e03b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment