From: Arnd Bergmann <arnd@xxxxxxxx>
clang complains about tlb_remove_tlb_entries() not using the 'ptep' variable
when __tlb_remove_tlb_entry() is an empty macro:
include/asm-generic/tlb.h:627:10: error: parameter 'ptep' set but not used [-Werror,-Wunused-but-set-parameter]
Change it to an equivalent inline function that avoids the warning since
the compiler can see how the variable gets passed into it.
Fixes: 66958b447695 ("mm/mmu_gather: add tlb_remove_tlb_entries()")