[tip: x86/microcode] x86/microcode/AMD: Remove unused PATCH_MAX_SIZE macro
From: tip-bot2 for Borislav Petkov (AMD)
Date: Fri Apr 05 2024 - 17:58:36 EST
The following commit has been merged into the x86/microcode branch of tip:
Commit-ID: 3287c22957b401903e4933a81eea9191788da33b
Gitweb: https://git.kernel.org/tip/3287c22957b401903e4933a81eea9191788da33b
Author: Borislav Petkov (AMD) <bp@xxxxxxxxx>
AuthorDate: Fri, 05 Apr 2024 23:33:08 +02:00
Committer: Borislav Petkov (AMD) <bp@xxxxxxxxx>
CommitterDate: Fri, 05 Apr 2024 23:33:08 +02:00
x86/microcode/AMD: Remove unused PATCH_MAX_SIZE macro
Orphaned after
05e91e721138 ("x86/microcode/AMD: Rip out static buffers")
No functional changes.
Signed-off-by: Borislav Petkov (AMD) <bp@xxxxxxxxx>
---
arch/x86/kernel/cpu/microcode/amd.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/x86/kernel/cpu/microcode/amd.c b/arch/x86/kernel/cpu/microcode/amd.c
index 620f0af..c0d56c0 100644
--- a/arch/x86/kernel/cpu/microcode/amd.c
+++ b/arch/x86/kernel/cpu/microcode/amd.c
@@ -84,8 +84,6 @@ struct microcode_amd {
unsigned int mpb[];
};
-#define PATCH_MAX_SIZE (3 * PAGE_SIZE)
-
static struct equiv_cpu_table {
unsigned int num_entries;
struct equiv_cpu_entry *entry;