Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp1027961rwl; Thu, 10 Aug 2023 05:33:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGm0MuqOKudntexCm276wA9m/Cy7E39akGZMN0/QHLIrnLfIljyJoPP3skaw7M0PmRQXl1w X-Received: by 2002:a17:906:5306:b0:99c:1b9a:b09e with SMTP id h6-20020a170906530600b0099c1b9ab09emr2012752ejo.75.1691670794897; Thu, 10 Aug 2023 05:33:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691670794; cv=none; d=google.com; s=arc-20160816; b=STUuK14A23pB/06+5cKuZl7fnBnDEnVNv4SPl8ZKahyZAwzEXyV5m3rfwrZw6z3d1z ZkZTlXzD4qT9Ccf+a6UYKLfOC96Md9nUUb1gU91qAcla/oHQp8WslATDc91NIXo0TEXx vMty7EKrDl47EB7oZfD7CfXqm+38HKTchKiOCrTRVAZojJpmO2avnNSveJxBIQRJgYri hyi4e/Y4xM2tLwnkHCcAwUn8okpXGt6CpWgNzEiYI9nDjdx02AJvX1WB+Bar9JIOPuc7 oBpji9whFTQxs4D5DDlrXKD5cLUxcL5opo/e7d8fvt325LODDAuw0hPcrwMCWbd3v+w4 FVtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=vz9U/FJbFHI5BbIXC+d/NGqhA3bBzpazV0e7aQYS0XQ=; fh=9euzS2fHxUFbYYNFyIGSixCXQupHCpOC8P3M6wImWIM=; b=kAJJg/1lvQ/GxCxvDvEgg0SUwufPVTLJKV7z+mdtgzg8gSWsXN36VeTMRnyjkGJ+Ut E4tO5HQkB43sWlzXUAWnkzuu2lleawfIogJHXv0hceiOmHM3i5pGdaKfsjCE3QlAplg7 afG3tzeF8Xv4HJ9fOxRhJ2EFIA1NhdGtWzhz+3gpwyUb8ARp9R40uec7QQ3YtMxVYn3q oYozOcDeTZvzaeSZInxnCfFFcNCLSNBVWLIiLIXMpMpgQgpQrrjO/amKBDYLJifRVnpZ 2NfJyDWOrks77r6bnIO/cnbTG3Gzu3gLAea06mJEp7QENJf32kxJIt8vpRnj1IiF77pC FRSA== 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b2-20020a1709065e4200b00992f309cfe7si1428176eju.602.2023.08.10.05.32.47; Thu, 10 Aug 2023 05:33:14 -0700 (PDT) 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233560AbjHJMDJ (ORCPT + 99 others); Thu, 10 Aug 2023 08:03:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbjHJMDI (ORCPT ); Thu, 10 Aug 2023 08:03:08 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E95B810E9 for ; Thu, 10 Aug 2023 05:03:07 -0700 (PDT) Received: from dggpemm500024.china.huawei.com (unknown [172.30.72.56]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4RM59c0WfMzTmb4; Thu, 10 Aug 2023 20:01:08 +0800 (CST) Received: from huawei.com (10.67.175.31) by dggpemm500024.china.huawei.com (7.185.36.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Thu, 10 Aug 2023 20:03:04 +0800 From: GUO Zihua To: , , , CC: , , , , , Subject: [PATCH -next] sched: Remove duplicated includes Date: Thu, 10 Aug 2023 20:02:39 +0800 Message-ID: <20230810120239.26173-1-guozihua@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.175.31] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpemm500024.china.huawei.com (7.185.36.203) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, 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 Remove duplicated includes in kernel/sched/fair.c, kernel/sched/core.c and kernel/sched/build_utility.c. Resolves checkincludes message. Signed-off-by: GUO Zihua --- kernel/sched/build_utility.c | 1 - kernel/sched/core.c | 2 -- kernel/sched/fair.c | 2 -- 3 files changed, 5 deletions(-) diff --git a/kernel/sched/build_utility.c b/kernel/sched/build_utility.c index 99bdd96f454f..80a3df49ab47 100644 --- a/kernel/sched/build_utility.c +++ b/kernel/sched/build_utility.c @@ -34,7 +34,6 @@ #include #include #include -#include #include #include #include diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 979ed6b40e65..73b61ed8988f 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -87,10 +87,8 @@ #include "stats.h" #include "autogroup.h" -#include "autogroup.h" #include "pelt.h" #include "smp.h" -#include "stats.h" #include "../workqueue_internal.h" #include "../../io_uring/io-wq.h" diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 8db197b8f10d..4efe3039bfa1 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -51,8 +51,6 @@ #include -#include - #include "sched.h" #include "stats.h" #include "autogroup.h" -- 2.17.1