[tip: x86/bugs] x86/callthunks: Delete unused "struct thunk_desc"

From: tip-bot2 for Alexey Dobriyan
Date: Fri Oct 20 2023 - 07:37:37 EST


The following commit has been merged into the x86/bugs branch of tip:

Commit-ID: 321a145137653188b8bf9a6b6fc60e8ccb184392
Gitweb: https://git.kernel.org/tip/321a145137653188b8bf9a6b6fc60e8ccb184392
Author: Alexey Dobriyan <adobriyan@xxxxxxxxx>
AuthorDate: Sat, 14 Oct 2023 19:05:28 +03:00
Committer: Borislav Petkov (AMD) <bp@xxxxxxxxx>
CommitterDate: Fri, 20 Oct 2023 12:58:48 +02:00

x86/callthunks: Delete unused "struct thunk_desc"

It looks like it was never used.

Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
Signed-off-by: Borislav Petkov (AMD) <bp@xxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: linux-kernel@xxxxxxxxxxxxxxx
Link: https://lore.kernel.org/r/843bf596-db67-4b33-a865-2bae4a4418e5@p183
---
arch/x86/kernel/callthunks.c | 5 -----
1 file changed, 5 deletions(-)

diff --git a/arch/x86/kernel/callthunks.c b/arch/x86/kernel/callthunks.c
index faa9f22..e9ad518 100644
--- a/arch/x86/kernel/callthunks.c
+++ b/arch/x86/kernel/callthunks.c
@@ -48,11 +48,6 @@ EXPORT_SYMBOL_GPL(__x86_call_count);

extern s32 __call_sites[], __call_sites_end[];

-struct thunk_desc {
- void *template;
- unsigned int template_size;
-};
-
struct core_text {
unsigned long base;
unsigned long end;