aboutsummaryrefslogtreecommitdiffstats
path: root/init
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 10:33:20 +0900
commit9edb4fd3d70a9dffd8ac6af6d060e97672b4a22f (patch)
tree648fdd2d426d0c79c9e2eaa2e0dd4000da5496f1 /init
parentbd328def2f987ebd4e20725a490f005556d737bf (diff)
downloadlinux-9edb4fd3d70a9dffd8ac6af6d060e97672b4a22f.tar.gz
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')
-rw-r--r--init/version.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/init/version.c b/init/version.c
index 01d4ab05f0bac0..f117921811b45a 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)