aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/android/binderfs.c
diff options
context:
space:
mode:
authorCarlos Llamas <cmllamas@google.com>2022-08-29 20:12:54 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-09-01 16:17:16 +0200
commiteaf271ea844b8dea5256bd3c73e642ef13ce68a2 (patch)
tree19148b20596edf89be4c52209e5e259a00710804 /drivers/android/binderfs.c
parentbinder: remove unused binder_alloc->buffer_free (diff)
downloadlinux-dev-eaf271ea844b8dea5256bd3c73e642ef13ce68a2.tar.xz
linux-dev-eaf271ea844b8dea5256bd3c73e642ef13ce68a2.zip
binderfs: remove unused INTSTRLEN macro
Fix the following W=1 build error: drivers/android/binderfs.c:42: error: macro "INTSTRLEN" is not used [-Werror=unused-macros] 42 | #define INTSTRLEN 21 | No functional changes in this patch. Reviewed-by: Christian Brauner (Microsoft) <brauner@kernel.org> Signed-off-by: Carlos Llamas <cmllamas@google.com> Link: https://lore.kernel.org/r/20220829201254.1814484-8-cmllamas@google.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/android/binderfs.c')
-rw-r--r--drivers/android/binderfs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/android/binderfs.c b/drivers/android/binderfs.c
index 588d753a7a19..44939ea1874f 100644
--- a/drivers/android/binderfs.c
+++ b/drivers/android/binderfs.c
@@ -39,7 +39,6 @@
#define FIRST_INODE 1
#define SECOND_INODE 2
#define INODE_OFFSET 3
-#define INTSTRLEN 21
#define BINDERFS_MAX_MINOR (1U << MINORBITS)
/* Ensure that the initial ipc namespace always has devices available. */
#define BINDERFS_MAX_MINOR_CAPPED (BINDERFS_MAX_MINOR - 4)