mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
export.h: remove defined(__KERNEL__), which is no longer needed
The conditional, define(__KERNEL__), was added by commitf235541699("export.h: allow for per-symbol configurable EXPORT_SYMBOL()"). It was needed at that time to avoid the build error of modpost with CONFIG_TRIM_UNUSED_KSYMS=y. Since commitb2c5cdcfd4("modpost: remove symbol prefix support"), modpost no longer includes linux/export.h, thus the define(__KERNEL__) is unneeded. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Nicolas Pitre <nico@fluxnic.net>
This commit is contained in:
parent
6863f5643d
commit
a0469f989f
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue