]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
s390/mm: Remove unused flush_tlb()
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 3 Nov 2025 10:54:20 +0000 (11:54 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Fri, 14 Nov 2025 10:34:27 +0000 (11:34 +0100)
flush_tlb() exists for historic reasons and was never used. Remove it.

Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/tlbflush.h

index be8ca0d854d38ed0904847e9af8c194641d55fe1..163ccbbe8c47454efac03cfadced17e556d7d3b7 100644 (file)
@@ -83,7 +83,6 @@ static inline void __tlb_flush_mm_lazy(struct mm_struct * mm)
 
 /*
  * TLB flushing:
- *  flush_tlb() - flushes the current mm struct TLBs
  *  flush_tlb_all() - flushes all processes TLBs
  *  flush_tlb_mm(mm) - flushes the specified mm context TLB's
  *  flush_tlb_page(vma, vmaddr) - flushes one page
@@ -99,7 +98,6 @@ static inline void __tlb_flush_mm_lazy(struct mm_struct * mm)
  * only one user. At the end of the update the flush_tlb_mm and
  * flush_tlb_range functions need to do the flush.
  */
-#define flush_tlb()                            do { } while (0)
 #define flush_tlb_all()                                do { } while (0)
 #define flush_tlb_page(vma, addr)              do { } while (0)