diff options
author | Xiaoyao Li <xiaoyao.li@intel.com> | 2024-12-19 06:01:17 -0500 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-01-10 23:34:45 +0100 |
commit | 81bd60625fc23cb8d4d0e682dcc4223d5e1ead84 (patch) | |
tree | 64b6a16b3be7b11ade564a0e388800d934f5cb70 /rust/qemu-api-macros/src/lib.rs | |
parent | d3bb5d0d4f5d4ad7dc6c02ea5fea51ca2f946593 (diff) | |
download | qemu-81bd60625fc23cb8d4d0e682dcc4223d5e1ead84.zip qemu-81bd60625fc23cb8d4d0e682dcc4223d5e1ead84.tar.gz qemu-81bd60625fc23cb8d4d0e682dcc4223d5e1ead84.tar.bz2 |
i386/cpu: Drop the variable smp_cores and smp_threads in x86_cpu_pre_plug()
No need to define smp_cores and smp_threads, just using ms->smp.cores
and ms->smp.threads is straightforward. It's also consistent with other
checks of socket/die/module.
Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Link: https://lore.kernel.org/r/20241219110125.1266461-3-xiaoyao.li@intel.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/qemu-api-macros/src/lib.rs')
0 files changed, 0 insertions, 0 deletions