summaryrefslogtreecommitdiff
path: root/drivers/iommu
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2015-03-30 12:31:11 +0200
committerSeung-Woo Kim <sw0312.kim@samsung.com>2016-12-14 13:43:40 +0900
commite0c81bae2c5249bcb01995071805396b0bee08ee (patch)
tree8f3d3a8a4dc2266dd083e71a41a711a35a72ceb2 /drivers/iommu
parent59fee415cfbe5f108f08e3a6ed600b6bacd1f253 (diff)
iommu: exynos: remove unneeded code
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Diffstat (limited to 'drivers/iommu')
-rw-r--r--drivers/iommu/exynos-iommu.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c
index f9e5469089be..ed6332efdf9d 100644
--- a/drivers/iommu/exynos-iommu.c
+++ b/drivers/iommu/exynos-iommu.c
@@ -1128,15 +1128,8 @@ static int init_done;
static int __init exynos_iommu_init(void)
{
- struct device_node *np;
int ret;
- np = of_find_matching_node(NULL, sysmmu_of_match);
- if (!np)
- return 0;
-
- of_node_put(np);
-
lv2table_kmem_cache = kmem_cache_create("exynos-iommu-lv2table",
LV2TABLE_SIZE, LV2TABLE_SIZE, 0, NULL);
if (!lv2table_kmem_cache) {