Commit 2fcd16fb authored by Tiwei Bie's avatar Tiwei Bie Committed by Richard Weinberger
Browse files

um: Remove unused kpte_clear_flush macro



This macro has no users, and __flush_tlb_one doesn't exist either.

Signed-off-by: default avatarTiwei Bie <tiwei.btw@antgroup.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 2df8c8d1
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -359,11 +359,4 @@ static inline pte_t pte_swp_clear_exclusive(pte_t pte)
	return pte;
}

/* Clear a kernel PTE and flush it from the TLB */
#define kpte_clear_flush(ptep, vaddr)		\
do {						\
	pte_clear(&init_mm, (vaddr), (ptep));	\
	__flush_tlb_one((vaddr));		\
} while (0)

#endif