Skip to contentSkip to conversation

x86/microcode: Remove unused struct 'cpu_info_ctx'

PATCH Applied [email protected] 2 participants 2 messages May 6, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/microcode: Remove unused struct 'cpu_info_ctx'

From: "Dr. David Alan Gilbert" <[email protected]>

This looks unused since:
Commit 2071c0aeda22 ("x86/microcode: Simplify init path even more")

---
 arch/x86/kernel/cpu/microcode/core.c | 5 -----
 1 file changed, 5 deletions(-)
arch/x86/kernel/cpu/microcode/core.c +0 -5
index 232026a239a68..b3658d11e7b69 100644
@@ -60,11 +60,6 @@ module_param(force_minrev, bool, S_IRUSR | S_IWUSR);
  */
 struct ucode_cpu_info		ucode_cpu_info[NR_CPUS];
 
-struct cpu_info_ctx {
-	struct cpu_signature	*cpu_sig;
-	int			err;
-};
-
 /*
  * Those patch levels cannot be updated to newer ones and thus should be final.
  */
Signature · 1 line
2.45.0
#1 lore raw

[tip: x86/microcode] x86/microcode: Remove unused struct cpu_info_ctx

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

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

Commit-ID:     57f6d0aed7b0a6829044c7f1cea57b1e3ddb9a47
Gitweb:        https://git.kernel.org/tip/57f6d0aed7b0a6829044c7f1cea57b1e3ddb9a47
Author:        Dr. David Alan Gilbert <[email protected]>
AuthorDate:    Mon, 06 May 2024 01:43:00 +01:00
Committer:     Borislav Petkov (AMD) <[email protected]>
CommitterDate: Mon, 06 May 2024 11:00:57 +02:00

x86/microcode: Remove unused struct cpu_info_ctx

This looks unused since

2071c0aeda22 ("x86/microcode: Simplify init path even more")

---
 arch/x86/kernel/cpu/microcode/core.c | 5 -----
 1 file changed, 5 deletions(-)
arch/x86/kernel/cpu/microcode/core.c +0 -5
index 232026a..b3658d1 100644
@@ -60,11 +60,6 @@ module_param(force_minrev, bool, S_IRUSR | S_IWUSR);
  */
 struct ucode_cpu_info		ucode_cpu_info[NR_CPUS];
 
-struct cpu_info_ctx {
-	struct cpu_signature	*cpu_sig;
-	int			err;
-};
-
 /*
  * Those patch levels cannot be updated to newer ones and thus should be final.
  */