From: Rashika Kheria Date: Thu, 3 Apr 2014 21:48:03 +0000 (-0700) Subject: mm/mmap.c: mark function as static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=eafd4dc4d76a9c6f184cc1de5a7891b7f6f76f2c;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git mm/mmap.c: mark function as static Mark function as static in mmap.c because they are not used outside this file. This eliminates the following warning in mm/mmap.c: mm/mmap.c:407:6: warning: no previous prototype for `validate_mm' [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by: Josh Triplett Reviewed-by: Rik van Riel Acked-by: David Rientjes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/mmap.c b/mm/mmap.c index 81ba54ff96c7..ac1d6671b1ed 100644 --- a/mm/mmap.c +++ b/mm/mmap.c @@ -405,7 +405,7 @@ static void validate_mm_rb(struct rb_root *root, struct vm_area_struct *ignore) } } -void validate_mm(struct mm_struct *mm) +static void validate_mm(struct mm_struct *mm) { int bug = 0; int i = 0;