Re: [PATCH v2 13/24] iommu/dma: Remove redundant "!dev" checks

2021-07-29 Thread Lu Baolu
On 7/28/21 11:58 PM, Robin Murphy wrote: iommu_dma_init_domain() is now only called from iommu_setup_dma_ops(), which has already assumed dev to be non-NULL. Reviewed-by: John Garry Signed-off-by: Robin Murphy --- drivers/iommu/dma-iommu.c | 5 + 1 file changed, 1 insertion(+), 4 deleti

[PATCH v2 13/24] iommu/dma: Remove redundant "!dev" checks

2021-07-28 Thread Robin Murphy
iommu_dma_init_domain() is now only called from iommu_setup_dma_ops(), which has already assumed dev to be non-NULL. Reviewed-by: John Garry Signed-off-by: Robin Murphy --- drivers/iommu/dma-iommu.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/iommu/dma-iommu.