summaryrefslogtreecommitdiff
path: root/drivers/android/binder_alloc.h
diff options
context:
space:
mode:
authorCarlos Llamas <cmllamas@google.com>2022-08-29 23:12:52 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-09-01 17:17:14 +0300
commit22534a44cb8ca660a14d62e320e45fde962e9410 (patch)
treeb97c3f3b338928b5825d40ff64f8028f27591378 /drivers/android/binder_alloc.h
parent76ff33468beaabbd0fe141b3ea1c6f514a8ef7d4 (diff)
downloadlinux-22534a44cb8ca660a14d62e320e45fde962e9410.tar.xz
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/binder_alloc.h')
-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;