From bc5609c795ff8546b98df4c5911352a570c488da Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Tue, 8 Oct 2024 11:25:48 -0700 Subject: [PATCH] mm-consolidate-common-checks-in-hugetlb_get_unmapped_area-fix arch/mips/include/asm/hugetlb.h: remove now-unused local Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202410081210.uNLbf3Jk-lkp@intel.com/ Cc: David Hildenbrand Cc: Donet Tom Cc: Lorenzo Stoakes Cc: Michal Hocko Cc: Muchun Song Cc: Oscar Salvador Cc: Peter Xu Cc: Vlastimil Babka Signed-off-by: Andrew Morton --- arch/mips/include/asm/hugetlb.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/mips/include/asm/hugetlb.h b/arch/mips/include/asm/hugetlb.h index 6a63d82a8ab3..d0a86ce83de9 100644 --- a/arch/mips/include/asm/hugetlb.h +++ b/arch/mips/include/asm/hugetlb.h @@ -17,7 +17,6 @@ static inline int prepare_hugepage_range(struct file *file, unsigned long len) { unsigned long task_size = STACK_TOP; - struct hstate *h = hstate_file(file); if (len > task_size) return -ENOMEM; -- 2.50.1