scsi: hisi_sas: change the codes related to sg_tablesize
Sht->sg_tablesize is set in hisi_sas driver, and it will be assigned to shost->sg_tablesize in SCSI layer. So it is not necessary to assign shost->sg_table one more time in hisi_sas 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: NXiang Chen <chenxiang66@hisilicon.com> Signed-off-by: NJohn Garry <john.garry@huawei.com>
Showing
想要评论请 注册 或 登录