From: Jann Horn Date: Wed, 16 Oct 2019 15:01:19 +0000 (+0200) Subject: binder: Use common definition of SZ_1K X-Git-Tag: for-linus-20191205~83^2~84 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=990be747648576184a65af0b20032126cb83a046;p=linux-2.6-block.git binder: Use common definition of SZ_1K SZ_1K has been defined in include/linux/sizes.h since v3.6. Get rid of the duplicate definition. Signed-off-by: Jann Horn Acked-by: Christian Brauner Link: https://lore.kernel.org/r/20191016150119.154756-2-jannh@google.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/android/binder.c b/drivers/android/binder.c index 5b9ac2122e89..bef788058bc3 100644 --- a/drivers/android/binder.c +++ b/drivers/android/binder.c @@ -65,6 +65,7 @@ #include #include #include +#include #include #include @@ -92,11 +93,6 @@ static atomic_t binder_last_id; static int proc_show(struct seq_file *m, void *unused); DEFINE_SHOW_ATTRIBUTE(proc); -/* This is only defined in include/asm-arm/sizes.h */ -#ifndef SZ_1K -#define SZ_1K 0x400 -#endif - #ifndef SZ_4M #define SZ_4M 0x400000 #endif