Skip to contentSkip to conversation

qla2xxx: Remove an unused structure member

PATCH Applied Bart Van Assche 3 participants 3 messages May 22, 2017 – May 24, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

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
index d64420251194..dae278859554 100644
@@ -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
#2 lore raw
In reply to Bart Van Assche

Bart,

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