mm/hugetlb: remove hugetlb_set_page_subpool()
Subsystems (2)
PATCH 1/1 mm/hugetlb: remove hugetlb_set_page_subpool()
All users have been converted to hugetlb_set_folio_subpool() so we can safely remove this function.
Signed-off-by Sidhartha Kumar <[email protected]>
--- include/linux/hugetlb.h | 5 ----- 1 file changed, 5 deletions(-)
include/linux/hugetlb.h +0 -5
@@ -761,11 +761,6 @@ static inline void hugetlb_set_folio_subpool(struct folio *folio, folio->_hugetlb_subpool = subpool; } -static inline void hugetlb_set_page_subpool (struct page *hpage, -struct hugepage_subpool *subpool) -{ -hugetlb_set_folio_subpool (page_folio (hpage), subpool); -}static inline struct hstate *hstate_file (struct file *f) {
Signature · 1 line
2.41.0
Quoted 14 lines · Sidhartha Kumar
All users have been converted to
hugetlb_set_folio_subpool()so we can safely remove this function.Signed-off-by Sidhartha Kumar <[email protected]>--- include/linux/hugetlb.h | 5 ----- 1 file changed, 5 deletions(-)include/linux/hugetlb.h +0
-0@@ -761,11 +761,6 @@ static inline void hugetlb_set_folio_subpool(struct folio *folio, folio->_hugetlb_subpool = subpool;
include/linux/hugetlb.h static inline void hugetlb_set_folio_subpool(struct folio *folio, · line 766
Quoted 10 lines
include/linux/hugetlb.h +0
-5} -static inline void hugetlb_set_page_subpool (struct page *hpage, -struct hugepage_subpool *subpool) -{ -hugetlb_set_folio_subpool (page_folio (hpage), subpool); -}static inline struct hstate *hstate_file (struct file *f) {
Reviewed-by David Hildenbrand <[email protected]>
Signature · 3 lines
Cheers, David / dhildenb