]> git.baikalelectronics.ru Git - kernel.git/commit
kernel/cred.c: make init_groups static
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Fri, 7 May 2021 01:02:39 +0000 (18:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 7 May 2021 02:24:11 +0000 (19:24 -0700)
commit1c2c43ec6cd340c485c4cbaa173709466d8283f0
treeb4b010b03b46504b36b561c876414d13b1529964
parent67600ea6e63514370a1a8571549b800f54634483
kernel/cred.c: make init_groups static

init_groups is declared in both cred.h and init_task.h, but it is not
actually referenced anywhere outside of cred.c where it is defined.  So
make it static and remove the declarations.

Link: https://lkml.kernel.org/r/20210310220102.2484201-1-linux@rasmusvillemoes.dk
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/cred.h
include/linux/init_task.h
kernel/cred.c