2024-05-06 00:43:25

by Dr. David Alan Gilbert

[permalink] [raw]
Subject: [PATCH] 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")

Signed-off-by: Dr. David Alan Gilbert <[email protected]>
---
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



2024-05-06 09:19:56

by tip-bot2 for Jacob Pan

[permalink] [raw]
Subject: [tip: x86/microcode] x86/microcode: Remove unused struct cpu_info_ctx

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")

Signed-off-by: Dr. David Alan Gilbert <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
---
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.
*/