From: Adrian Bunk return_unused_surplus_pages() can become static. Signed-off-by: Adrian Bunk Acked-by: Adam Litke Signed-off-by: Andrew Morton --- mm/hugetlb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN mm/hugetlb.c~mm-hugetlbc-make-a-function-static mm/hugetlb.c --- a/mm/hugetlb.c~mm-hugetlbc-make-a-function-static +++ a/mm/hugetlb.c @@ -328,7 +328,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; _