scsi: qla2xxx: Remove an unused structure member
authorBart Van Assche <bart.vanassche@sandisk.com>
Mon, 22 May 2017 20:10:53 +0000 (13:10 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Jun 2017 00:48:05 +0000 (20:48 -0400)
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 <bart.vanassche@sandisk.com>
Acked-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: Quinn Tran <quinn.tran@cavium.com>
Cc: Hannes Reinecke <hare@suse.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Andy Grover <agrover@redhat.com>
Cc: David Disseldorp <ddiss@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_target.h

index d64420251194eb5fa634a36699ecf07c69e09edd..dae2788595547bbd73a59a95fa6c9450f5a45f34 100644 (file)
@@ -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];