projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ae33b9
)
android: binder: Change binder_shrinker to static
author
Sherry Yang
<sherryy@android.com>
Fri, 6 Oct 2017 20:12:05 +0000
(16:12 -0400)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 20 Oct 2017 13:17:44 +0000
(15:17 +0200)
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>
drivers/android/binder_alloc.c
patch
|
blob
|
history
diff --git
a/drivers/android/binder_alloc.c
b/drivers/android/binder_alloc.c
index
b87ecf7
..
ed0c9dc
100644
(file)
--- 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 = {
+st
atic st
ruct shrinker binder_shrinker = {
.count_objects = binder_shrink_count,
.scan_objects = binder_shrink_scan,
.seeks = DEFAULT_SEEKS,