mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-10-31 18:09:19 +00:00
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 <rashika.kheria@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Reviewed-by: Rik van Riel <riel@redhat.com> Acked-by: David Rientjes <rientjes@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
fa51e06e87
commit
67771bea33
1 changed files with 1 additions and 1 deletions
|
@ -433,7 +433,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 bug = 0;
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
|
Loading…
Reference in a new issue