]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
binder: remove unneeded <linux/export.h> inclusion from binder_internal.h
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 17 Feb 2025 11:27:51 +0000 (20:27 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Feb 2025 14:25:12 +0000 (15:25 +0100)
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>
drivers/android/binder_internal.h

index e4eb8357989cb1c4e8330d8894d1c44d60fe4e05..6a66c9769c6cd4a64deac9e59b9c1e255b20ae31 100644 (file)
@@ -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>