qla2xxx: Remove an unused structure member
Subsystems (2)
PATCH 1/1 qla2xxx: Remove an unused structure member
qla_tgt_cmd.free_work is not used by the qla2xxx driver. Hence remove that member of struct qla_tgt_cmd.
Signed-off-by Bart Van Assche <[email protected]>
Acked-by Himanshu Madhani <[email protected]>
Cc Quinn Tran <[email protected]>
Cc Hannes Reinecke <[email protected]>
Cc Christoph Hellwig <[email protected]>
Cc Andy Grover <[email protected]>
Cc David Disseldorp <[email protected]>
--- drivers/scsi/qla2xxx/qla_target.h | 1 - 1 file changed, 1 deletion(-)
drivers/scsi/qla2xxx/qla_target.h +0 -1
@@ -862,7 +862,6 @@ struct qla_tgt_cmd {struct se_cmd se_cmd;struct fc_port *sess;int state; -struct work_struct free_work;struct work_struct work;/* Sense buffer that will be mapped into outgoing status */ unsigned char sense_buffer[TRANSPORT_SENSE_BUFFER ];
Signature · 1 line
2.12.2
Quoted 2 lines · Bart Van Assche
qla_tgt_cmd.free_work is not used by the qla2xxx driver. Hence remove that member of struct
qla_tgt_cmd.
Looks fine,
Reviewed-by Christoph Hellwig <[email protected]>
Martin K. Petersen
AppliedBart,
Quoted 2 lines
qla_tgt_cmd.free_work is not used by the qla2xxx driver. Hence remove that member of struct
qla_tgt_cmd.
Applied to 4.13/scsi-queue. Thanks, Bart!
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering