Skip to content

Commit 9cbf264

Browse files
committed
x86/alternative: Zap alternative_ternary()
Unused. Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/20240607111701.8366-2-bp@kernel.org
1 parent 83a7eef commit 9cbf264

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

arch/x86/include/asm/alternative.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -271,9 +271,6 @@ static inline int alternatives_text_reserved(void *start, void *end)
271271
#define alternative_2(oldinstr, newinstr1, ft_flags1, newinstr2, ft_flags2) \
272272
asm_inline volatile(ALTERNATIVE_2(oldinstr, newinstr1, ft_flags1, newinstr2, ft_flags2) ::: "memory")
273273

274-
#define alternative_ternary(oldinstr, ft_flags, newinstr_yes, newinstr_no) \
275-
asm_inline volatile(ALTERNATIVE_TERNARY(oldinstr, ft_flags, newinstr_yes, newinstr_no) ::: "memory")
276-
277274
/*
278275
* Alternative inline assembly with input.
279276
*

0 commit comments

Comments
 (0)