summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorBorislav Petkov (AMD) <bp@alien8.de>2024-04-05 23:33:08 +0200
committerBorislav Petkov (AMD) <bp@alien8.de>2024-04-05 23:33:08 +0200
commit3287c22957b401903e4933a81eea9191788da33b (patch)
tree391ce334db82ea53b5fb0d1b5265b57441b491d5 /arch
parent9e11fc78e2df7a2649764413029441a0c897fb11 (diff)
downloadlinux-stable-3287c22957b401903e4933a81eea9191788da33b.tar.gz
linux-stable-3287c22957b401903e4933a81eea9191788da33b.tar.bz2
linux-stable-3287c22957b401903e4933a81eea9191788da33b.zip
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@alien8.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/cpu/microcode/amd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kernel/cpu/microcode/amd.c b/arch/x86/kernel/cpu/microcode/amd.c
index 620f0af713ca..c0d56c02b8da 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;