Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

android: binder: Change binder_shrinker to static

binder_shrinker struct is not used anywhere outside of
binder_alloc.c and should be static.

Acked-by: Arve Hjønnevåg <arve@android.com>
Signed-off-by: Sherry Yang <sherryy@android.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Sherry Yang and committed by
Greg Kroah-Hartman
de7bbe3d 6ae33b9c

+1 -1
+1 -1
drivers/android/binder_alloc.c
··· 985 985 return ret; 986 986 } 987 987 988 - struct shrinker binder_shrinker = { 988 + static struct shrinker binder_shrinker = { 989 989 .count_objects = binder_shrink_count, 990 990 .scan_objects = binder_shrink_scan, 991 991 .seeks = DEFAULT_SEEKS,