On 7/28/21 8:31 PM, Peter Xu wrote: > It's only used by softmmu binaries not linux-user ones. Make it static and > drop the definition in the header too. > > Since at it, initialize variable "wi" with less loc. > > Reviewed-by: David Hildenbrand <da...@redhat.com> > Signed-off-by: Peter Xu <pet...@redhat.com> > --- > cpus-common.c | 25 ------------------------- > include/hw/core/cpu.h | 12 ------------ > softmmu/cpus.c | 23 +++++++++++++++++++++++ > 3 files changed, 23 insertions(+), 37 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <phi...@redhat.com>