Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <masahiroy@kernel.org>
Link: https://lore.kernel.org/r/20250217112756.1011333-1-masahiroy@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Masahiro Yamada and committed by
Greg Kroah-Hartman
78c0a505 74826b3f

-1
-1
drivers/android/binder_internal.h
··· 3 3 #ifndef _LINUX_BINDER_INTERNAL_H 4 4 #define _LINUX_BINDER_INTERNAL_H 5 5 6 - #include <linux/export.h> 7 6 #include <linux/fs.h> 8 7 #include <linux/list.h> 9 8 #include <linux/miscdevice.h>