From patchwork Sun Dec 4 10:02:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe JAILLET X-Patchwork-Id: 29396 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1733567wrr; Sun, 4 Dec 2022 02:44:30 -0800 (PST) X-Google-Smtp-Source: AA0mqf7bYdOmIZUX4vV4/We/KvDiAmbTv7pleZ9uxxUCXSRWoeBj2JvA2RgBT9H+2jkvNd8mCx5l X-Received: by 2002:a65:4d43:0:b0:470:8e8a:e7fe with SMTP id j3-20020a654d43000000b004708e8ae7femr57770495pgt.215.1670150670591; Sun, 04 Dec 2022 02:44:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670150670; cv=none; d=google.com; s=arc-20160816; b=fZK6lQ9Yl6Qi8enyBrozN9GFfrnaRWv8lAarQVaJ/lY4B8aKJFdizzY7SGdW4Od8qt AVIGe0C02v6QKJWcXSdEQNGZxmiXPEU8M/OQ9l7Fewap9/mPiAW31BIu4RIJ9YfdRtUn zyDawkxOFIopbNXWl3Rdn1yI9g1IfbX6YGpOBhC2SfIWqwdiK7e/a6eR9TTJ54ebHUXx lp5FSMg/AhKEHqCuKnrVkLgJzcVEIjQGGd0cRvl7tZTxY8tbzUq1VZdV5pVgUFuzqTnn sxPV2Nl97mCqZBAB7xN6JjLYJkp1bZejp5DfKIJqFi9zhCo0cdJRJxazJOQIKKmr94U2 ZW0A== 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 :message-id:date:subject:cc:to:from; bh=6doHrGOzBPBWutcSjVT4JzwudM+S9QFNRaRRlWXWtng=; b=03w+uD7qEk8sRkcLYIl66fAXgey5Q+VPoFk+hUDscfPaLS1LA69Z35nEbGrFWkkreQ GAi6frc00JXtm/isAUZzXfqRXBoPU7yJoQpmiQKZVekAnB8GChmnEZQZ4eGi9JBuvHFD O2s+ecbq7pd8kLzQmk/kefP+j2Sta1b0Rw9iUWKjcZmb6C9O2JAC/rSZ/HMNwsNOTpXW 72S8jBzqCYY3p6csqot0zjy4z46E36VrAF0KJzbPBjGRoYH14/4yBwVwswLwImN9swyk 8cDAGhhoRa1xvd9KLC/ZB29qlKTK1/GPnaFuApvOwy9TRUlnEtD7nbxbhdBls9iIatly mouQ== ARC-Authentication-Results: i=1; mx.google.com; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s14-20020a056a0008ce00b0055706edd79csi12653945pfu.240.2022.12.04.02.44.17; Sun, 04 Dec 2022 02:44:30 -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; 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 S230088AbiLDKCN (ORCPT + 99 others); Sun, 4 Dec 2022 05:02:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229539AbiLDKCL (ORCPT ); Sun, 4 Dec 2022 05:02:11 -0500 Received: from smtp.smtpout.orange.fr (smtp-28.smtpout.orange.fr [80.12.242.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3392C1402E for ; Sun, 4 Dec 2022 02:02:08 -0800 (PST) Received: from pop-os.home ([86.243.100.34]) by smtp.orange.fr with ESMTPA id 1lozppAz9pJKl1lozpN141; Sun, 04 Dec 2022 11:02:06 +0100 X-ME-Helo: pop-os.home X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Sun, 04 Dec 2022 11:02:06 +0100 X-ME-IP: 86.243.100.34 From: Christophe JAILLET To: paulmck@kernel.org, elver@google.com, mark.rutland@arm.com Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET Subject: [PATCH] init_task: Remove unneeded pid_namespace.h and utsname.h includes Date: Sun, 4 Dec 2022 11:02:02 +0100 Message-Id: <94c8f2123a8833b61d84a662ec35f9c070cdf4dd.1670147823.git.christophe.jaillet@wanadoo.fr> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751279909582237575?= X-GMAIL-MSGID: =?utf-8?q?1751279909582237575?= Remove pid_namespace.h and utsname.h from init_task.h They are not needed any more. - added in commit 9a575a92db33 ("[PATCH] to nsproxy") - needed because of 'init_pid_ns' - added in commit 4865ecf1315b ("[PATCH] namespaces: utsname: implement utsname namespaces") - needed because of 'init_uts_ns' Both use have been moved in "kernel/nsproxy.c" in commit 8467005da3ef ("nsproxy: remove INIT_NSPROXY()"). "kernel/nsproxy.c" already includes the 2 corresponding includes. Signed-off-by: Christophe JAILLET --- Let see if build-bots agree with me! --- include/linux/init_task.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/init_task.h b/include/linux/init_task.h index 079c190de56d..6d2c4ea4c97a 100644 --- a/include/linux/init_task.h +++ b/include/linux/init_task.h @@ -4,11 +4,9 @@ #include #include -#include #include #include #include -#include #include #include #include