diff options
author | Nilesh Javali <njavali@marvell.com> | 2023-08-25 09:00:17 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-08-25 23:04:07 +0200 |
commit | 659d36cc732a7de8c6ca2ae347db1a5401a1b93c (patch) | |
tree | a98fc8bfaa0e853b48654c7044576cc5434376c1 /include | |
parent | scsi: qla2xxx: Fix nvme_fc_rcv_ls_req() undefined error (diff) | |
download | linux-659d36cc732a7de8c6ca2ae347db1a5401a1b93c.tar.xz linux-659d36cc732a7de8c6ca2ae347db1a5401a1b93c.zip |
scsi: qla2xxx: Remove unused variables in qla24xx_build_scsi_type_6_iocbs()
Sparse warning reported,
drivers/scsi/qla2xxx/qla_iocb.c: In function 'qla24xx_build_scsi_type_6_iocbs':
>> drivers/scsi/qla2xxx/qla_iocb.c:594:29: warning: variable 'ha' set but not used [-Wunused-but-set-variable]
594 | struct qla_hw_data *ha;
| ^~
Remove unused variables 'vha' and 'ha'.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202308230757.VKMIztAB-lkp@intel.com/
Signed-off-by: Nilesh Javali <njavali@marvell.com>
Link: https://lore.kernel.org/r/20230825070017.46066-1-njavali@marvell.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions