[PATCH] binder: remove unused BINDER_SMALL_BUF_SIZE define

Dmitry Safonov dsafonov at virtuozzo.com
Wed May 24 19:55:21 UTC 2017


It was never used since addition of binder to linux mainstream tree.

Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
Cc: "Arve Hjønnevåg" <arve at android.com>
Cc: Riley Andrews <riandrews at android.com>
Cc: devel at driverdev.osuosl.org
Signed-off-by: Dmitry Safonov <dsafonov at virtuozzo.com>
---
 drivers/android/binder.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/android/binder.c b/drivers/android/binder.c
index b5b32be85ab8..24d9e3450ccd 100644
--- a/drivers/android/binder.c
+++ b/drivers/android/binder.c
@@ -87,8 +87,6 @@ BINDER_DEBUG_ENTRY(proc);
 
 #define FORBIDDEN_MMAP_FLAGS                (VM_WRITE)
 
-#define BINDER_SMALL_BUF_SIZE (PAGE_SIZE * 64)
-
 enum {
 	BINDER_DEBUG_USER_ERROR             = 1U << 0,
 	BINDER_DEBUG_FAILED_TRANSACTION     = 1U << 1,
-- 
2.12.2



More information about the devel mailing list