Commit 9edb4fd3 authored by Thomas Weißschuh's avatar Thomas Weißschuh Committed by Masahiro Yamada

init/version.c: remove #include <generated/utsrelease.h>

Commit 2df8220c ("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: 2df8220c ("kbuild: build init/built-in.a just once")
Signed-off-by: default avatarThomas Weißschuh <linux@weissschuh.net>
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent bd328def
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
#include <linux/printk.h> #include <linux/printk.h>
#include <linux/uts.h> #include <linux/uts.h>
#include <linux/utsname.h> #include <linux/utsname.h>
#include <generated/utsrelease.h>
#include <linux/proc_ns.h> #include <linux/proc_ns.h>
static int __init early_hostname(char *arg) static int __init early_hostname(char *arg)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment