binder: remove unneeded <linux/export.h> inclusion from binder_internal.h
PATCH 1/1 binder: remove unneeded <linux/export.h> inclusion from binder_internal.h
binder_internal.h is included only in the following two C files:
$ git grep binder_internal.h drivers/android/binder.c:#include "binder_internal.h" drivers/android/binderfs.c:#include "binder_internal.h"
Neither of these files use the EXPORT_SYMBOL macro, so including <linux/export.h> is unnecessary.
Signed-off-by Masahiro Yamada <[email protected]>
---
drivers/android/binder_internal.h | 1 - 1 file changed, 1 deletion(-)
drivers/android/binder_internal.h +0 -1
@@ -3,7 +3,6 @@#ifndef _LINUX_BINDER_INTERNAL_H#define _LINUX_BINDER_INTERNAL_H -#include <linux/export.h> #include <linux/fs.h> #include <linux/list.h> #include <linux/miscdevice.h>
Signature · 1 line
2.43.0
Quoted 11 lines · Masahiro Yamada
binder_internal.his included only in the following two C files:$ git grep binder_internal.h drivers/android/binder.c:#include "binder_internal.h" drivers/android/binderfs.c:#include "binder_internal.h"Neither of these files use the
EXPORT_SYMBOLmacro, so including <linux/export.h> is unnecessary.Signed-off-by Masahiro Yamada <[email protected]>
Acked-by Todd Kjos <[email protected]>
Quoted 20 lines
---
drivers/android/binder_internal.h | 1 - 1 file changed, 1 deletion(-)drivers/android/binder_internal.h +0
-2@@ -3,7 +3,6 @@#ifndef _LINUX_BINDER_INTERNAL_H#define _LINUX_BINDER_INTERNAL_H -#include <linux/export.h> #include <linux/fs.h> #include <linux/list.h> #include <linux/miscdevice.h> --2.43.0