init/version.c: remove #include <generated/utsrelease.h>
authorThomas Weißschuh <linux@weissschuh.net>
Sat, 26 Nov 2022 05:10:01 +0000 (06:10 +0100)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 10 Dec 2022 01:33:20 +0000 (10:33 +0900)
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>
init/version.c

index 01d4ab05f0bac09c820b2379e5f0abf70c778cfc..f117921811b45a1138acc9aafc1d0ee9b3aaaae8 100644 (file)
@@ -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)