diff options
author | Quinn Tran <quinn.tran@cavium.com> | 2017-06-14 05:47:27 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-06-28 03:21:41 +0200 |
commit | b5399f7d80a249fafa870d8da9fcd0d077d943b9 (patch) | |
tree | 1856e93c36b8e1e6427473f66b035cd4fe32f5a9 /drivers/scsi/qla2xxx/qla_target.h | |
parent | scsi: qla2xxx: Remove unused tgt_enable_64bit_addr flag (diff) | |
download | linux-b5399f7d80a249fafa870d8da9fcd0d077d943b9.tar.xz linux-b5399f7d80a249fafa870d8da9fcd0d077d943b9.zip |
scsi: qla2xxx: Remove datasegs_per_cmd and datasegs_per_cont field
These fields only hold one set of value. Replace it with macros to
reduce cache thrash.
Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_target.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_target.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_target.h b/drivers/scsi/qla2xxx/qla_target.h index 902685f85506..7fe02d036bdf 100644 --- a/drivers/scsi/qla2xxx/qla_target.h +++ b/drivers/scsi/qla2xxx/qla_target.h @@ -806,7 +806,7 @@ struct qla_tgt { */ int atio_irq_cmd_count; - int datasegs_per_cmd, datasegs_per_cont, sg_tablesize; + int sg_tablesize; /* Target's flags, serialized by pha->hardware_lock */ unsigned int link_reinit_iocb_pending:1; |