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>
This commit is contained in:
parent
d34d2c97ae
commit
c9391ba6ee
1 changed files with 1 additions and 1 deletions
|
@ -986,7 +986,7 @@ binder_shrink_scan(struct shrinker *shrink, struct shrink_control *sc)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct shrinker binder_shrinker = {
|
static struct shrinker binder_shrinker = {
|
||||||
.count_objects = binder_shrink_count,
|
.count_objects = binder_shrink_count,
|
||||||
.scan_objects = binder_shrink_scan,
|
.scan_objects = binder_shrink_scan,
|
||||||
.seeks = DEFAULT_SEEKS,
|
.seeks = DEFAULT_SEEKS,
|
||||||
|
|
Loading…
Add table
Reference in a new issue