diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2022-11-26 06:10:01 +0100 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2022-12-10 10:33:20 +0900 |
commit | 9edb4fd3d70a9dffd8ac6af6d060e97672b4a22f (patch) | |
tree | 648fdd2d426d0c79c9e2eaa2e0dd4000da5496f1 /init | |
parent | bd328def2f987ebd4e20725a490f005556d737bf (diff) | |
download | lwn-9edb4fd3d70a9dffd8ac6af6d060e97672b4a22f.tar.gz lwn-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')
-rw-r--r-- | init/version.c | 1 |
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) |