OpenCloudOS-Kernel/drivers/scsi/qedf
YueHaibing cc23c66179 scsi: qedf: remove set but not used variables
Fixes gcc '-Wunused-but-set-variable' warnings:

drivers/scsi/qedf/qedf_els.c: In function 'qedf_process_els_compl':
drivers/scsi/qedf/qedf_els.c:149:20: warning: variable 'sc_cmd' set but not used [-Wunused-but-set-variable]
drivers/scsi/qedf/qedf_els.c:148:28: warning: variable 'task_ctx' set but not used [-Wunused-but-set-variable]
drivers/scsi/qedf/qedf_els.c: In function 'qedf_send_srr':
drivers/scsi/qedf/qedf_els.c:612:6: warning: variable 'sid' set but not used [-Wunused-but-set-variable]

They are never used since introduction.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Saurav Kashyap <skashyap@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2019-04-29 08:34:10 -04:00
..
Kconfig
Makefile qed*: Utilize Firmware 8.15.3.0 2017-03-13 15:33:09 -07:00
drv_fcoe_fw_funcs.c scsi: qedf: Update copyright for 2018 2018-05-08 00:57:11 -04:00
drv_fcoe_fw_funcs.h scsi: qedf: Update copyright for 2018 2018-05-08 00:57:11 -04:00
drv_scsi_fw_funcs.c scsi: qedf: Update copyright for 2018 2018-05-08 00:57:11 -04:00
drv_scsi_fw_funcs.h scsi: qedf: Update copyright for 2018 2018-05-08 00:57:11 -04:00
qedf.h scsi: qedf: Add comment to display logging levels 2019-04-29 08:34:09 -04:00
qedf_attr.c scsi: qedf: Update copyright for 2018 2018-05-08 00:57:11 -04:00
qedf_dbg.c scsi: qedf: remove memset/memcpy to nfunc and use func instead 2019-04-18 20:32:26 -04:00
qedf_dbg.h scsi: qedf: Update copyright for 2018 2018-05-08 00:57:11 -04:00
qedf_debugfs.c scsi: qedf: Add driver state to 'driver_stats' debugfs node 2019-04-29 08:34:09 -04:00
qedf_els.c scsi: qedf: remove set but not used variables 2019-04-29 08:34:10 -04:00
qedf_fip.c scsi: qedf: Check the return value of start_xmit 2019-04-29 08:34:09 -04:00
qedf_hsi.h scsi: qedf: Update copyright for 2018 2018-05-08 00:57:11 -04:00
qedf_io.c scsi: qedf: Add port_id for fcport into initiate_cleanup debug message 2019-04-29 08:34:09 -04:00
qedf_main.c scsi: qedf: Add return value to log message if scsi_add_host fails 2019-04-29 08:34:09 -04:00
qedf_version.h scsi: qedf: Update the driver version to 8.37.25.20 2019-04-29 08:34:10 -04:00