[PATCH 1/2] ARM: Delete an error message for a failed memory allocation in init_atags_procfs()
Markus Elfring
Markus.Elfring at web.de
Tue Mar 28 10:15:57 PDT 2023
Date: Tue, 28 Mar 2023 18:40:26 +0200
Omit an extra message for a memory allocation failure in this function.
Signed-off-by: Markus Elfring <elfring at users.sourceforge.net>
---
arch/arm/kernel/atags_proc.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arm/kernel/atags_proc.c b/arch/arm/kernel/atags_proc.c
index 3ec2afe78423..2f08ab08e68f 100644
--- a/arch/arm/kernel/atags_proc.c
+++ b/arch/arm/kernel/atags_proc.c
@@ -69,8 +69,6 @@ static int __init init_atags_procfs(void)
nomem:
kfree(b);
- pr_err("Exporting ATAGs: not enough memory\n");
-
return -ENOMEM;
}
arch_initcall(init_atags_procfs);
--
2.40.0
More information about the linux-arm-kernel
mailing list