]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
riscv: kexec_elf: Remove unused pr_fmt definition
authorHui Wang <hui.wang@canonical.com>
Sun, 7 Jun 2026 02:17:53 +0000 (20:17 -0600)
committerPaul Walmsley <pjw@kernel.org>
Sun, 7 Jun 2026 05:48:14 +0000 (23:48 -0600)
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.

Signed-off-by: Hui Wang <hui.wang@canonical.com>
Link: https://patch.msgid.link/20260525115159.100177-1-hui.wang@canonical.com
Signed-off-by: Paul Walmsley <pjw@kernel.org>
arch/riscv/kernel/kexec_elf.c

index 531d348db84d73cbeb87ae42f01248672259c129..05fd33104f3d692d63df040205f95fe0e648dac8 100644 (file)
@@ -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>