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

Message ID 169780183378.3135.13180464061966074283.tip-bot2@tip-bot2
State New
Headers
Series [tip:,x86/bugs] x86/callthunks: Delete unused "struct thunk_desc" |

Commit Message

tip-bot2 for Thomas Gleixner Oct. 20, 2023, 11:37 a.m. UTC
  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@gmail.com>
AuthorDate:    Sat, 14 Oct 2023 19:05:28 +03:00
Committer:     Borislav Petkov (AMD) <bp@alien8.de>
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@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: linux-kernel@vger.kernel.org
Link: https://lore.kernel.org/r/843bf596-db67-4b33-a865-2bae4a4418e5@p183
---
 arch/x86/kernel/callthunks.c | 5 -----
 1 file changed, 5 deletions(-)
  

Patch

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;