Skip to contentSkip to conversation

i386/cpu: Cleanup host_cpu_max_instance_init()

PATCH Applied Xiaoyao Li 4 participants 4 messages Jul 16, 2025 – Jul 17, 2025

lore
Share & tools
lore

Xiaoyao Li

author
#0 lore raw

PATCH 1/1 i386/cpu: Cleanup host_cpu_max_instance_init()

The implementation of host_cpu_max_instance_init() was merged into host_cpu_instance_init() by commit 29f1ba338baf ("target/i386: merge host_cpu_instance_init() and host_cpu_max_instance_init()"), while the declaration of it remains in host-cpu.h.

Clean it up.

---
 target/i386/host-cpu.h | 1 -
 1 file changed, 1 deletion(-)
target/i386/host-cpu.h +0 -1
index 10df4b3a3a74..ee6532422548 100644
@@ -12,7 +12,6 @@
 
 uint32_t host_cpu_phys_bits(void);
 void host_cpu_instance_init(X86CPU *cpu);
-void host_cpu_max_instance_init(X86CPU *cpu);
 bool host_cpu_realizefn(CPUState *cs, Error **errp);
 
 void host_cpu_vendor_fms(char *vendor, int *family, int *model, int *stepping);
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 11 lines · Xiaoyao Li

The implementation of host_cpu_max_instance_init() was merged into host_cpu_instance_init() by commit 29f1ba338baf ("target/i386: merge host_cpu_instance_init() and host_cpu_max_instance_init()"), while the declaration of it remains in host-cpu.h.

Clean it up.

---
  target/i386/host-cpu.h | 1 -
  1 file changed, 1 deletion(-)
Reviewed-by on v1 1/1
#2 lore raw
In reply to Xiaoyao Li
Quoted 10 lines · Xiaoyao Li

Date: Wed, 16 Jul 2025 14:31:16 +0800
From: Xiaoyao Li <[email protected]>
Subject: [PATCH] i386/cpu: Cleanup host_cpu_max_instance_init()
X-Mailer: git-send-email 2.43.0

The implementation of host_cpu_max_instance_init() was merged into host_cpu_instance_init() by commit 29f1ba338baf ("target/i386: merge host_cpu_instance_init() and host_cpu_max_instance_init()"), while the declaration of it remains in host-cpu.h.

Quoted 6 lines

Clean it up.

---
 target/i386/host-cpu.h | 1 -
 1 file changed, 1 deletion(-)