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

From: tip-bot2 for Alexey Dobriyan
Date: Sat Oct 14 2023 - 18:40:41 EST


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

Commit-ID: 5f51ef7fe994a91dcae36119a83961f6b143371d
Gitweb: https://git.kernel.org/tip/5f51ef7fe994a91dcae36119a83961f6b143371d
Author: Alexey Dobriyan <adobriyan@xxxxxxxxx>
AuthorDate: Sat, 14 Oct 2023 19:05:28 +03:00
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
CommitterDate: Sun, 15 Oct 2023 00:30:30 +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>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: linux-kernel@xxxxxxxxxxxxxxx
---
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;