From: Sherry Yang Date: Fri, 6 Oct 2017 20:12:05 +0000 (-0400) Subject: android: binder: Change binder_shrinker to static X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=de7bbe3d1baea2b28991a514e596f47e885f92d6;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Sherry Yang Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/android/binder_alloc.c b/drivers/android/binder_alloc.c index b87ecf77f9d1..ed0c9dc792eb 100644 --- a/drivers/android/binder_alloc.c +++ b/drivers/android/binder_alloc.c @@ -985,7 +985,7 @@ binder_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) return ret; } -struct shrinker binder_shrinker = { +static struct shrinker binder_shrinker = { .count_objects = binder_shrink_count, .scan_objects = binder_shrink_scan, .seeks = DEFAULT_SEEKS,