summaryrefslogtreecommitdiffstats
path: root/init/version.c
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2022-11-26 06:10:01 +0100
committerMasahiro Yamada <masahiroy@kernel.org>2022-12-10 02:33:20 +0100
commit9edb4fd3d70a9dffd8ac6af6d060e97672b4a22f (patch)
tree648fdd2d426d0c79c9e2eaa2e0dd4000da5496f1 /init/version.c
parentfirmware_loader: remove #include <generated/utsrelease.h> (diff)
downloadlinux-9edb4fd3d70a9dffd8ac6af6d060e97672b4a22f.tar.xz
linux-9edb4fd3d70a9dffd8ac6af6d060e97672b4a22f.zip
init/version.c: remove #include <generated/utsrelease.h>
Commit 2df8220cc511 ("kbuild: build init/built-in.a just once") moved the usage of the define UTS_RELEASE to the file version-timestamp.c. version-timestamp.c in turn is included from version.c but already includes utsrelease.h itself properly. The unneeded include of utsrelease.h from version.c can be dropped. Fixes: 2df8220cc511 ("kbuild: build init/built-in.a just once") Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'init/version.c')
-rw-r--r--init/version.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/init/version.c b/init/version.c
index 01d4ab05f0ba..f117921811b4 100644
--- a/init/version.c
+++ b/init/version.c
@@ -15,7 +15,6 @@
#include <linux/printk.h>
#include <linux/uts.h>
#include <linux/utsname.h>
-#include <generated/utsrelease.h>
#include <linux/proc_ns.h>
static int __init early_hostname(char *arg)