Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 229f65be authored by Sherry Yang's avatar Sherry Yang Committed by Amit Pundir
Browse files

UPSTREAM: android: binder: Change binder_shrinker to static



commit de7bbe3d1baea2b28991a514e596f47e885f92d6 upstream.

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

Acked-by: default avatarArve Hjønnevåg <arve@android.com>
Signed-off-by: default avatarSherry Yang <sherryy@android.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarAmit Pundir <amit.pundir@linaro.org>

Bug: 63926541
Change-Id: I7a13d4ddbaaf3721cddfe1d860e34c7be80dd082
parent 40f3c627
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -986,7 +986,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,