]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
scsi: qedf: Remove unused 'num_handled' variable
authorTom Rix <trix@redhat.com>
Thu, 30 Mar 2023 20:34:44 +0000 (16:34 -0400)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 3 Apr 2023 01:45:46 +0000 (21:45 -0400)
commit7866e03b9825e1e08fc5136d3ab9a35ebabdc7f5
treea9241d843c9d512948aa096ca717f14f34221491
parent0a07d3c7a1d205b47d9f3608ff4e9d1065d63b6d
scsi: qedf: Remove unused 'num_handled' variable

clang with W=1 reports:

drivers/scsi/qedf/qedf_main.c:2227:6: error: variable
  'num_handled' set but not used [-Werror,-Wunused-but-set-variable]
        int num_handled = 0;
            ^
This variable is not used so remove it.

Signed-off-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20230330203444.1842425-1-trix@redhat.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qedf/qedf_main.c