[PATCH] x86/microcode: Remove unused struct 'cpu_info_ctx'

linux@treblig.org posted 1 patch 1 week, 6 days ago
arch/x86/kernel/cpu/microcode/core.c | 5 -----
1 file changed, 5 deletions(-)
[PATCH] x86/microcode: Remove unused struct 'cpu_info_ctx'
Posted by linux@treblig.org 1 week, 6 days ago
From: "Dr. David Alan Gilbert" <linux@treblig.org>

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

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
---
 arch/x86/kernel/cpu/microcode/core.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/arch/x86/kernel/cpu/microcode/core.c b/arch/x86/kernel/cpu/microcode/core.c
index 232026a239a68..b3658d11e7b69 100644
--- a/arch/x86/kernel/cpu/microcode/core.c
+++ b/arch/x86/kernel/cpu/microcode/core.c
@@ -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.
  */
-- 
2.45.0
[tip: x86/microcode] x86/microcode: Remove unused struct cpu_info_ctx
Posted by tip-bot2 for Dr. David Alan Gilbert 1 week, 6 days ago
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 <linux@treblig.org>
AuthorDate:    Mon, 06 May 2024 01:43:00 +01:00
Committer:     Borislav Petkov (AMD) <bp@alien8.de>
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")

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20240506004300.770564-1-linux@treblig.org
---
 arch/x86/kernel/cpu/microcode/core.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/arch/x86/kernel/cpu/microcode/core.c b/arch/x86/kernel/cpu/microcode/core.c
index 232026a..b3658d1 100644
--- a/arch/x86/kernel/cpu/microcode/core.c
+++ b/arch/x86/kernel/cpu/microcode/core.c
@@ -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.
  */