mm/page_alloc: remove unneeded forward declaration of __free_pages_ok()
Subsystems (2)
PATCH 1/1 mm/page_alloc: remove unneeded forward declaration of __free_pages_ok()
From: "Zenghui Yu (Huawei)" <[email protected]>
All remaining callers of __free_pages_ok() appear after its definition, so the forward declaration near the top of mm/page_alloc.c is no longer needed. Remove it.
--- mm/page_alloc.c | 2 -- 1 file changed, 2 deletions(-)
mm/page_alloc.c +0 -2
@@ -216,8 +216,6 @@ gfp_t gfp_allowed_mask __read_mostly = GFP_BOOT_MASK;unsigned int pageblock_order__read_mostly ;#endif -static void __free_pages_ok (struct page *page,unsigned int order, -fpi_t fpi_flags);static void reserve_highatomic_pageblock (struct page *page,int order,struct zone *zone);
Signature · 1 line
2.56.0
Quoted 11 lines · Zenghui Yu
From: "Zenghui Yu (Huawei)" <[email protected]>
All remaining callers of
__free_pages_ok()appear after its definition, so the forward declaration near the top ofmm/page_alloc.cis no longer needed. Remove it.Signed-off-by Zenghui Yu (Huawei) <[email protected]>--- mm/page_alloc.c | 2 -- 1 file changed, 2 deletions(-)
LGTM. Thanks.
Signature · 2 lines
Best Regards, Yan, Zi
Quoted 7 lines · Zenghui Yu
From: "Zenghui Yu (Huawei)" <[email protected]>
All remaining callers of
__free_pages_ok()appear after its definition, so the forward declaration near the top ofmm/page_alloc.cis no longer needed. Remove it.Signed-off-by Zenghui Yu (Huawei) <[email protected]>
Quoted 7 lines · Zenghui Yu
From: "Zenghui Yu (Huawei)" <[email protected]>
All remaining callers of
__free_pages_ok()appear after its definition, so the forward declaration near the top ofmm/page_alloc.cis no longer needed. Remove it.Signed-off-by Zenghui Yu (Huawei) <[email protected]>
Quoted 20 lines
--- mm/page_alloc.c | 2 -- 1 file changed, 2 deletions(-)mm/page_alloc.c +0
-2@@ -216,8 +216,6 @@ gfp_t gfp_allowed_mask __read_mostly = GFP_BOOT_MASK;unsigned int pageblock_order__read_mostly ;#endif -static void __free_pages_ok (struct page *page,unsigned int order, -fpi_t fpi_flags);static void reserve_highatomic_pageblock (struct page *page,int order,struct zone *zone);Signature · 1 line
2.56.0
Quoted 8 lines · Zenghui Yu
From: "Zenghui Yu (Huawei)" <[email protected]>
All remaining callers of
__free_pages_ok()appear after its definition, so the forward declaration near the top ofmm/page_alloc.cis no longer needed. Remove it.Signed-off-by Zenghui Yu (Huawei) <[email protected]>---
Quoted 16 lines
mm/page_alloc.c | 2 -- 1 file changed, 2 deletions(-)mm/page_alloc.c +0
-2@@ -216,8 +216,6 @@ gfp_t gfp_allowed_mask __read_mostly = GFP_BOOT_MASK;unsigned int pageblock_order__read_mostly ;#endif -static void __free_pages_ok (struct page *page,unsigned int order, -fpi_t fpi_flags);static void reserve_highatomic_pageblock (struct page *page,int order,struct zone *zone);