Commit b28fe378 authored by Yong Wu's avatar Yong Wu Committed by Todd Kjos
Browse files

UPSTREAM: 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: default avatarYong Wu <yong.wu@mediatek.com>
Reviewed-by: default avatarTomasz Figa <tfiga@chromium.org>
Link: https://lore.kernel.org/r/20210111111914.22211-32-yong.wu@mediatek.com


Signed-off-by: default avatarWill Deacon <will@kernel.org>
(cherry picked from commit 23357572)

BUG=b:174513569

Signed-off-by: default avatarYong Wu <yong.wu@mediatek.com>
Change-Id: Icd2d561abd0dcf1c580c2cbca89df4bc06b8299f
parent f513c83e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment