summaryrefslogtreecommitdiff
path: root/drivers/iommu/mtk_iommu.h
diff options
context:
space:
mode:
authorYong Wu <yong.wu@mediatek.com>2021-01-11 14:19:12 +0300
committerWill Deacon <will@kernel.org>2021-02-01 14:31:19 +0300
commit23357572bec6b7f900d855f6dda9c77bb6d1c2de (patch)
tree08f8a8bce30d1c07882bb9715d685419282c34c8 /drivers/iommu/mtk_iommu.h
parent8d2c749e5252466d8fc1917101f137966c61fd1c (diff)
downloadlinux-23357572bec6b7f900d855f6dda9c77bb6d1c2de.tar.xz
iommu/mediatek: Remove unnecessary check in attach_device
This priv_data is set in the of_xlate. if of_xlate failed, it should not enter attach_device. remove the unnecessary check. Signed-off-by: Yong Wu <yong.wu@mediatek.com> Reviewed-by: Tomasz Figa <tfiga@chromium.org> Link: https://lore.kernel.org/r/20210111111914.22211-32-yong.wu@mediatek.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/iommu/mtk_iommu.h')
0 files changed, 0 insertions, 0 deletions