Skip to contentSkip to conversation

includes: remove stale [smp|max]_cpus externs

PATCH In review Alex Bennée 3 participants 3 messages Jul 11, 2019 – Jul 12, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 includes: remove stale [smp|max]_cpus externs

Commit a5e0b3311 removed these in favour of querying machine properties. Remove the extern declarations as well.

---
 include/sysemu/sysemu.h | 2 --
 1 file changed, 2 deletions(-)
include/sysemu/sysemu.h +0 -2
index 984c439ac9..e70edf7c1c 100644
@@ -103,8 +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;
 extern int no_quit;
Signature · 1 line
2.20.1
Reviewed-by on v1 1/1
#2 lore raw
In reply to Alex Bennée
Quoted 5 lines · Alex Bennée

Commit a5e0b3311 removed these in favour of querying machine properties. Remove the extern declarations as well.

Quoted 18 lines
---
  include/sysemu/sysemu.h | 2 --
  1 file changed, 2 deletions(-)
include/sysemu/sysemu.h +0 -2
index 984c439ac9..e70edf7c1c 100644
@@ -103,8 +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;
  extern int no_quit;