Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Thomas Weißschuh and committed by
Masahiro Yamada
9edb4fd3 bd328def

-1
-1
init/version.c
··· 15 15 #include <linux/printk.h> 16 16 #include <linux/uts.h> 17 17 #include <linux/utsname.h> 18 - #include <generated/utsrelease.h> 19 18 #include <linux/proc_ns.h> 20 19 21 20 static int __init early_hostname(char *arg)