The quilt patch titled Subject: hugetlb: fix an unused variable warning/error has been removed from the -mm tree. Its filename was hugetlb-do-not-update-address-in-huge_pmd_unshare-fix.patch This patch was dropped because it was folded into hugetlb-do-not-update-address-in-huge_pmd_unshare.patch ------------------------------------------------------ From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Subject: hugetlb: fix an unused variable warning/error Date: Wed, 22 Jun 2022 17:04:46 +1000 Link: https://lkml.kernel.org/r/20220622171117.70850960@xxxxxxxxxxxxxxxx Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Cc: Mike Kravetz <mike.kravetz@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/hugetlb.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) --- a/mm/hugetlb.c~hugetlb-do-not-update-address-in-huge_pmd_unshare-fix +++ a/mm/hugetlb.c @@ -6894,10 +6894,8 @@ unsigned long hugetlb_mask_last_page(str /* See description above. Architectures can provide their own version. */ __weak unsigned long hugetlb_mask_last_page(struct hstate *h) { - unsigned long hp_size = huge_page_size(h); - #ifdef CONFIG_ARCH_WANT_HUGE_PMD_SHARE - if (hp_size == PMD_SIZE) + if (huge_page_size(h) == PMD_SIZE) return PUD_SIZE - PMD_SIZE; #endif return 0UL; _ Patches currently in -mm which might be from sfr@xxxxxxxxxxxxxxxx are hugetlb-do-not-update-address-in-huge_pmd_unshare.patch