riscv: kexec_elf: Remove unused pr_fmt definition
PATCH 1/1 riscv: kexec_elf: Remove unused pr_fmt definition
Remove the pr_fmt macro as no pr_*() calls exist in this file. The prefix string "kexec_image: " is also not appropriate for kexec_elf.c, if pr_fmt is needed in the future, referring to kexec_image.c, a more appropriate prefix like "kexec_file(elf): " can be added at that time.
--- arch/riscv/kernel/kexec_elf.c | 2 -- 1 file changed, 2 deletions(-)
arch/riscv/kernel/kexec_elf.c +0 -2
@@ -10,8 +10,6 @@* for kernel. */ -#define pr_fmt (fmt) "kexec_image: " fmt -#include <linux/elf.h> #include <linux/kexec.h> #include <linux/slab.h>
Signature · 7 lines
2.43.0 _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
Paul Walmsley
maintainerQuoted 6 lines · Hui Wang
Remove the
pr_fmtmacro as no pr_*() calls exist in this file. The prefix string "kexec_image: " is also not appropriate forkexec_elf.c, ifpr_fmtis needed in the future, referring tokexec_image.c, a more appropriate prefix like "kexec_file(elf): " can be added at that time.Signed-off-by Hui Wang <[email protected]>
Thanks, queued for v7.2.
- Paul
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv