From: Dr. David Alan Gilbert Date: Mon, 6 May 2024 00:43:00 +0000 (+0100) Subject: x86/microcode: Remove unused struct cpu_info_ctx X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=57f6d0aed7b0a6829044c7f1cea57b1e3ddb9a47;p=linux.git 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 Signed-off-by: Borislav Petkov (AMD) Link: https://lore.kernel.org/r/20240506004300.770564-1-linux@treblig.org --- 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. */