diff mbox series

Remove old global variable smp_cpus

Message ID 20190712131927.15091-1-sw@weilnetz.de (mailing list archive)
State New, archived
Headers show
Series Remove old global variable smp_cpus | expand

Commit Message

Stefan Weil July 12, 2019, 1:19 p.m. UTC
Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
 include/sysemu/sysemu.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Laurent Vivier July 12, 2019, 1:35 p.m. UTC | #1
Le 12/07/2019 à 15:19, Stefan Weil a écrit :
> Signed-off-by: Stefan Weil <sw@weilnetz.de>
> ---
>  include/sysemu/sysemu.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h
> index 984c439ac9..9b849cb770 100644
> --- a/include/sysemu/sysemu.h
> +++ b/include/sysemu/sysemu.h
> @@ -103,7 +103,6 @@ extern const char *keyboard_layout;
>  extern int win2k_install_hack;
>  extern int alt_grab;
>  extern int ctrl_grab;
> -extern int smp_cpus;
>  extern unsigned int max_cpus;
>  extern int cursor_hide;
>  extern int graphic_rotate;
> 

Fixes: a5e0b331193a ("vl.c: Replace smp global variables with smp
machine properties")

I thin you can also remove max_cpus.

Thanks,
Laurent
diff mbox series

Patch

diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h
index 984c439ac9..9b849cb770 100644
--- a/include/sysemu/sysemu.h
+++ b/include/sysemu/sysemu.h
@@ -103,7 +103,6 @@  extern const char *keyboard_layout;
 extern int win2k_install_hack;
 extern int alt_grab;
 extern int ctrl_grab;
-extern int smp_cpus;
 extern unsigned int max_cpus;
 extern int cursor_hide;
 extern int graphic_rotate;