summaryrefslogtreecommitdiff
path: root/drivers/scsi/3w-xxxx.h
diff options
context:
space:
mode:
authorXiang Chen <chenxiang66@hisilicon.com>2018-12-06 21:34:42 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2018-12-12 21:23:17 -0500
commit6db831f4ef764ca19d7300d56ab9455af3cb930d (patch)
tree1babfdcebac6b223c44a4546764a99ee15de3424 /drivers/scsi/3w-xxxx.h
parent6e1b731b535231e199c7810451c851398afccd33 (diff)
scsi: hisi_sas: Make sg_tablesize consistent value
Sht->sg_tablesize is set in the driver, and it will be assigned to shost->sg_tablesize in SCSI mid-layer. So it is not necessary to assign shost->sg_table one more time in the driver. In addition to the change, change each scsi_host_template.sg_tablesize to HISI_SAS_SGE_PAGE_CNT instead of SG_ALL. Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com> Signed-off-by: John Garry <john.garry@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/3w-xxxx.h')
0 files changed, 0 insertions, 0 deletions