]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
scsi: qla2xxx: Remove datasegs_per_cmd and datasegs_per_cont field
authorQuinn Tran <quinn.tran@cavium.com>
Wed, 14 Jun 2017 03:47:27 +0000 (20:47 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 28 Jun 2017 01:21:41 +0000 (21:21 -0400)
commitb5399f7d80a249fafa870d8da9fcd0d077d943b9
tree1856e93c36b8e1e6427473f66b035cd4fe32f5a9
parent32d29b4ce82785a78d059d89f40fc1cad163e0ad
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>
drivers/scsi/qla2xxx/qla_target.c
drivers/scsi/qla2xxx/qla_target.h