Skip to contentSkip to conversation

x86: delete unused "struct thunk_desc"

PATCH Applied Alexey Dobriyan 3 participants 4 messages Oct 20, 2023 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: delete unused "struct thunk_desc"

It looks like it was never used.

---

 arch/x86/kernel/callthunks.c |    5 -----
 1 file changed, 5 deletions(-)
arch/x86/kernel/callthunks.c +0 -5
@@ -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;
#3 lore raw

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

In reply to Alexey Dobriyan
The following commit has been merged into the x86/bugs branch of tip:

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 <[email protected]>
AuthorDate:    Sat, 14 Oct 2023 19:05:28 +03:00
Committer:     Borislav Petkov (AMD) <[email protected]>
CommitterDate: Fri, 20 Oct 2023 12:58:48 +02:00

x86/callthunks: Delete unused "struct thunk_desc"

It looks like it was never used.

---
 arch/x86/kernel/callthunks.c | 5 -----
 1 file changed, 5 deletions(-)
arch/x86/kernel/callthunks.c +0 -5
index faa9f22..e9ad518 100644
@@ -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;