scsi: hisi_sas: remove redundant codes related to dmam_alloc_coherent()
driver inclusion category: bugfix bugzilla: NA CVE: NA Since commit "518a2f19 dma-mapping: zero memory returned from dma_alloc_*", the allocated memory are zeroed. So it is not necessary to zero them or allocate them with flag __GFP_ZERO. Signed-off-by: NXiang Chen <chenxiang66@hisilicon.com> Signed-off-by: NJohn Garry <john.garry@huawei.com> Feature or Bugfix:Bugfix Reviewed-by: NJohn Garry <john.garry@huawei.com> Signed-off-by: Nchenxiang (M) <chenxiang66@hisilicon.com> Reviewed-by: Ntanxiaofei <tanxiaofei@huawei.com> Reviewed-by: NYang Yingliang <yangyingliang@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录