* [PATCH] Exynos-IOMMU: Delete an error message for a failed memory allocation in exynos_iommu_init()
@ 2018-01-20 13:34 SF Markus Elfring
0 siblings, 0 replies; only message in thread
From: SF Markus Elfring @ 2018-01-20 13:34 UTC (permalink / raw)
To: iommu, linux-arm-kernel, linux-samsung-soc, Jörg Rödel,
Krzysztof Kozlowski, Kukjin Kim, Marek Szyprowski
Cc: kernel-janitors, LKML
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Sat, 20 Jan 2018 14:28:13 +0100
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
---
drivers/iommu/exynos-iommu.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c
index 79c45650f8de..456a88483089 100644
--- a/drivers/iommu/exynos-iommu.c
+++ b/drivers/iommu/exynos-iommu.c
@@ -1370,8 +1370,6 @@ static int __init exynos_iommu_init(void)
zero_lv2_table = kmem_cache_zalloc(lv2table_kmem_cache, GFP_KERNEL);
if (zero_lv2_table == NULL) {
- pr_err("%s: Failed to allocate zero level2 page table\n",
- __func__);
ret = -ENOMEM;
goto err_zero_lv2;
}
--
2.15.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-01-20 13:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-20 13:34 [PATCH] Exynos-IOMMU: Delete an error message for a failed memory allocation in exynos_iommu_init() SF Markus Elfring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).