Merge tag 'mm-stable-2024-05-17-19-19' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-block.git] / arch / riscv / mm / hugetlbpage.c
index 5ef2a6891158a6d59de8f36b4f4d98cf3ad6eb2a..0ebd968b33c9979d5627ec54a506293428bc7708 100644 (file)
@@ -399,16 +399,6 @@ static bool is_napot_size(unsigned long size)
 
 #endif /*CONFIG_RISCV_ISA_SVNAPOT*/
 
-int pud_huge(pud_t pud)
-{
-       return pud_leaf(pud);
-}
-
-int pmd_huge(pmd_t pmd)
-{
-       return pmd_leaf(pmd);
-}
-
 static bool __hugetlb_valid_size(unsigned long size)
 {
        if (size == HPAGE_SIZE)