summaryrefslogtreecommitdiffstats
path: root/drivers/android
diff options
context:
space:
mode:
authorCarlos Llamas <cmllamas@google.com>2022-08-29 22:12:52 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-09-01 16:17:14 +0200
commit22534a44cb8ca660a14d62e320e45fde962e9410 (patch)
treeb97c3f3b338928b5825d40ff64f8028f27591378 /drivers/android
parentbinder: fix trivial kernel-doc typo (diff)
downloadlinux-22534a44cb8ca660a14d62e320e45fde962e9410.tar.xz
linux-22534a44cb8ca660a14d62e320e45fde962e9410.zip
binder: remove unused binder_alloc->buffer_free
The ->buffer_free member was introduced in the first revision of the driver under staging but it appears like it was never actually used according to git's history. Remove it from binder_alloc. Reviewed-by: Christian Brauner (Microsoft) <brauner@kernel.org> Acked-by: Todd Kjos <tkjos@google.com> Signed-off-by: Carlos Llamas <cmllamas@google.com> Link: https://lore.kernel.org/r/20220829201254.1814484-6-cmllamas@google.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/android')
-rw-r--r--drivers/android/binder_alloc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/android/binder_alloc.h b/drivers/android/binder_alloc.h
index 0c37935ff7a2..f61a12d5c1e7 100644
--- a/drivers/android/binder_alloc.h
+++ b/drivers/android/binder_alloc.h
@@ -109,7 +109,6 @@ struct binder_alloc {
size_t free_async_space;
struct binder_lru_page *pages;
size_t buffer_size;
- uint32_t buffer_free;
int pid;
size_t pages_high;
bool oneway_spam_detected;