mm/hugetlb.c: make a function static
Subsystems (2)
PATCH 1/1 mm/hugetlb.c: make a function static
return_unused_surplus_pages() can become static.
Signed-off-by Adrian Bunk <[email protected]>
---8932fe99341629d50863643229d25666e9f44e03
mm/hugetlb.c +1 -1
@@ -323,7 +323,7 @@ free:* allocated to satisfy the reservation must be explicitly freed if they were * never used. */ -void return_unused_surplus_pages (unsigned long unused_resv_pages) +static void return_unused_surplus_pages (unsigned long unused_resv_pages) {static int nid =-1 ;struct page *page;
Quoted 3 lines · Adrian Bunk
return_unused_surplus_pages()can become static.Signed-off-by Adrian Bunk <[email protected]>
Acked-by Adam Litke <[email protected]>
Quoted 18 lines
---
8932fe99341629d50863643229d25666e9f44e03mm/hugetlb.c +1
-1@@ -323,7 +323,7 @@ free:* allocated to satisfy the reservation must be explicitly freed if they were * never used. */ -void return_unused_surplus_pages (unsigned long unused_resv_pages) +static void return_unused_surplus_pages (unsigned long unused_resv_pages) {static int nid =-1 ;struct page *page;
Signature · 2 lines
Adam Litke - (agl at us.ibm.com) IBM Linux Technology Center