Skip to contentSkip to conversation

x86/setup: Remove unused MCA variables

PATCH Applied Borislav Petkov 2 participants 2 messages Oct 21, 2020 – Oct 28, 2020 x86

lore
Share & tools
lore

Borislav Petkov

author maintainer
#0 lore raw

PATCH 1/1 x86/setup: Remove unused MCA variables

From: Borislav Petkov <[email protected]>

Commit

bb8187d35f82 ("MCA: delete all remaining traces of microchannel bus support.")

removed the remaining traces of Micro Channel Architecture support but one trace remained - three variables in setup.c which have been unused since 2012 at least.

Drop them finally.

---
 arch/x86/kernel/setup.c | 5 -----
 1 file changed, 5 deletions(-)
arch/x86/kernel/setup.c +0 -5
index 84f581c91db4..a23130c86bdd 100644
@@ -119,11 +119,6 @@ EXPORT_SYMBOL(boot_cpu_data);
 
 unsigned int def_to_bigsmp;
 
-/* For MCA, but anyone else can use it if they want */
-unsigned int machine_id;
-unsigned int machine_submodel_id;
-unsigned int BIOS_revision;
-
 struct apm_info apm_info;
 EXPORT_SYMBOL(apm_info);
 
Signature · 1 line
2.21.0
#1 lore raw
The following commit has been merged into the x86/cleanups branch of tip:

The following commit has been merged into the x86/cleanups branch of tip:

Commit-ID:     0d847ce7c17613d63401ac82336ee1d5df749120
Gitweb:        https://git.kernel.org/tip/0d847ce7c17613d63401ac82336ee1d5df749120
Author:        Borislav Petkov <[email protected]>
AuthorDate:    Wed, 21 Oct 2020 18:39:47 +02:00
Committer:     Borislav Petkov <[email protected]>
CommitterDate: Wed, 28 Oct 2020 14:58:51 +01:00

x86/setup: Remove unused MCA variables

Commit

bb8187d35f82 ("MCA: delete all remaining traces of microchannel bus support.")

removed the remaining traces of Micro Channel Architecture support but one trace remained - three variables in setup.c which have been unused since 2012 at least.

Drop them finally.

---
 arch/x86/kernel/setup.c | 5 -----
 1 file changed, 5 deletions(-)
arch/x86/kernel/setup.c +0 -5
index 84f581c..a23130c 100644
@@ -119,11 +119,6 @@ EXPORT_SYMBOL(boot_cpu_data);
 
 unsigned int def_to_bigsmp;
 
-/* For MCA, but anyone else can use it if they want */
-unsigned int machine_id;
-unsigned int machine_submodel_id;
-unsigned int BIOS_revision;
-
 struct apm_info apm_info;
 EXPORT_SYMBOL(apm_info);