summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/qemu/qemu.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2024-10-05 22:11:57 +0300
committerSimon Glass <sjg@chromium.org>2024-10-18 14:10:22 -0600
commitc222dda2da1283a859533c0cacca975f86524dc6 (patch)
tree49378c620f7b831b7a16f7811b29533134f4a77a /arch/x86/cpu/qemu/qemu.c
parentabb778038101c5d150c14027e39f7009afc30208 (diff)
x86: cpu: Use default print_cpuinfo() for all
Most of the copies of the print_cpuinfo() call the default method. Remove all of those in order to have only the default one when no `cpu` command is compiled. This also helps avoiding compiler warning, e.g.: arch/x86/cpu/tangier/tangier.c:23:5: warning: no previous prototype for ‘print_cpuinfo’ [-Wmissing-prototypes] Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/cpu/qemu/qemu.c')
-rw-r--r--arch/x86/cpu/qemu/qemu.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/cpu/qemu/qemu.c b/arch/x86/cpu/qemu/qemu.c
index 262584d01f0..563f63e2bc8 100644
--- a/arch/x86/cpu/qemu/qemu.c
+++ b/arch/x86/cpu/qemu/qemu.c
@@ -109,12 +109,6 @@ int checkcpu(void)
{
return 0;
}
-
-int print_cpuinfo(void)
-{
- post_code(POST_CPU_INFO);
- return default_print_cpuinfo();
-}
#endif
int arch_early_init_r(void)