Skip to content

Commit 32e281f

Browse files
Sherry Yangpundiramit
authored andcommitted
FROMLIST: android: binder: Change binder_shrinker to static
(from https://patchwork.kernel.org/patch/9990321/) binder_shrinker struct is not used anywhere outside of binder_alloc.c and should be static. Bug: 63926541 Change-Id: I7a13d4ddbaaf3721cddfe1d860e34c7be80dd082 Acked-by: Arve Hjønnevåg <arve@android.com> Signed-off-by: Sherry Yang <sherryy@android.com>
1 parent bcda4a7 commit 32e281f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/android/binder_alloc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -986,7 +986,7 @@ binder_shrink_scan(struct shrinker *shrink, struct shrink_control *sc)
986986
return ret;
987987
}
988988

989-
struct shrinker binder_shrinker = {
989+
static struct shrinker binder_shrinker = {
990990
.count_objects = binder_shrink_count,
991991
.scan_objects = binder_shrink_scan,
992992
.seeks = DEFAULT_SEEKS,

0 commit comments

Comments
 (0)