Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp11743026rwb; Fri, 25 Nov 2022 21:34:58 -0800 (PST) X-Google-Smtp-Source: AA0mqf5TBCXmgYAwCgEv/TG14OZHcyREnRDdS2xJFqbakYRzmLE5lp5gnpXjez1/rnPMs/OhLKJd X-Received: by 2002:aa7:d58e:0:b0:46a:3349:1cdd with SMTP id r14-20020aa7d58e000000b0046a33491cddmr15224344edq.184.1669440898675; Fri, 25 Nov 2022 21:34:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669440898; cv=none; d=google.com; s=arc-20160816; b=qXhkKpYyQiTzOPK3xtccnv+L/4a/XwfZHn3Hks3Fyb4JguKZWjY8uBI18DcrcDlnGm H6AnAUtvsrL2F5RErDEPGIYKObNulct86OdEcUrqfWDnaPDGKQL4Tt/2sicsyd+Dhx5w 05g6xCl3Iu6hAiAnpGVGhSt0n4t1nLnNJNx+sQGJfn5pQut4EArYq+IdQncIOnO498wj eXWRucH/EkuOyK/L5I7oLBx//sWO92kTQwWCOrqvMn5Jf0rF+ieOKJb5RYTyMA989zVO n6Qi4q0GtCxpdEsMlMbrSYddxyjavPdJbE3ioDARI83EO4Uj6s3XY7q2/K1xs0xJNCrY yCBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:dkim-signature :from; bh=W3V2G1KACLBxsQltD/N5TRVo01+FVmgs/P7NcHNPbto=; b=LTBCROCroRYF89SXaUHb6J0RnoM4L7yH533OZacMRk/ZL0zoHUzM0i9NvfgfXBL+fz o9sc6p+2SvNw55a6bzaslwTJUtJ+713TL1/6hFwPcy2pH/ZOV3EZblFb2n8G0t4EdKMe 5Yk4gsqdDcQJkVBsoHqGfA19DYJHq0zmr+5bZQFDbiDkMQuJk5xJFjL0MvF4Fv/o0U6F sF4mFdmFfuo3BjPefWc2ILz5Lnu+KPM2MIMa548SFv2vNXp7vYQi5ZeJcBBfvfnmxeVC PwbBGyu6Y3KVIskBwfBnLVah34OKIxCvTHqP/8m1OrncjHq6IqX89+lsbNphVG5NoSxF 9etQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@weissschuh.net header.s=mail header.b=paSSMypW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a16-20020aa7cf10000000b00461b2c460c8si4075244edy.531.2022.11.25.21.34.35; Fri, 25 Nov 2022 21:34:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@weissschuh.net header.s=mail header.b=paSSMypW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230159AbiKZFKk (ORCPT + 84 others); Sat, 26 Nov 2022 00:10:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230071AbiKZFKa (ORCPT ); Sat, 26 Nov 2022 00:10:30 -0500 Received: from todd.t-8ch.de (todd.t-8ch.de [IPv6:2a01:4f8:c010:41de::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD68931239 for ; Fri, 25 Nov 2022 21:10:29 -0800 (PST) From: =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=weissschuh.net; s=mail; t=1669439428; bh=EVRYLbXJT4r/tavtjYFvtvsmMIF+T3VXJ7DLMO3Mjvk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=paSSMypWqVVc32GQycN1h492cMml4NmI5izRh13kXBEGH0rcARgKWWqbWxS9t/GFi Y3JPOXI3Y2gJSAOicOpaqKoffFmR/u0ztBX4hdNwOJ13/bSxFNcTY45IxjTk5CK10L hFlS2jno+wK3Zvsm4cwRbo9gpl18+MQwYKAIJ6Bc= To: Luis Chamberlain , Russ Weight , Greg Kroah-Hartman , "Rafael J. Wysocki" , linuxppc-dev@lists.ozlabs.org Cc: =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= , Masahiro Yamada , linux-kernel@vger.kernel.org, Michael Ellerman , Nicholas Piggin Subject: [PATCH 3/3] init/version.c: remove #include Date: Sat, 26 Nov 2022 06:10:01 +0100 Message-Id: <20221126051002.123199-3-linux@weissschuh.net> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221126051002.123199-1-linux@weissschuh.net> References: <20221126051002.123199-1-linux@weissschuh.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Developer-Signature: v=1; a=ed25519-sha256; t=1669439380; l=867; i=linux@weissschuh.net; s=20211113; h=from:subject; bh=EVRYLbXJT4r/tavtjYFvtvsmMIF+T3VXJ7DLMO3Mjvk=; b=F1HxhTKHtpXu/BykxEW66XOAnX88KtYknMzBSigNB14Ozcd2B3B2rppXzAUGtYP2vqAnS1LWKQit 0PUndB9uBZRUnE2ncW+8Kkw6N2OVHHp2fLHhO7W+ChZnDKTkwUJI X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=9LP6KM4vD/8CwHW7nouRBhWLyQLcK1MkP6aTZbzUlj4= Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit 2df8220cc511 ("kbuild: build init/built-in.a just once") moved the usage of the define UTS_VERSION to the file version-timestamp.c. version-timestamp.c in turn is included from version.c but already includes utsversion.h itself properly. The unneeded include of utsversion.h from version.c can be dropped. Fixes: 2df8220cc511 ("kbuild: build init/built-in.a just once") Signed-off-by: Thomas Weißschuh --- init/version.c | 1 - 1 file changed, 1 deletion(-) 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 #include #include -#include #include static int __init early_hostname(char *arg) -- 2.38.1