From nobody Sun May 5 10:02:20 2024 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 51A7FC77B7A for ; Sat, 3 Jun 2023 03:14:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236639AbjFCDN5 (ORCPT ); Fri, 2 Jun 2023 23:13:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232426AbjFCDNw (ORCPT ); Fri, 2 Jun 2023 23:13:52 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 308201B3 for ; Fri, 2 Jun 2023 20:13:51 -0700 (PDT) Received: from canpemm500002.china.huawei.com (unknown [172.30.72.54]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4QY4b629nNzqSTC; Sat, 3 Jun 2023 11:09:06 +0800 (CST) Received: from huawei.com (10.175.104.170) by canpemm500002.china.huawei.com (7.192.104.244) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Sat, 3 Jun 2023 11:13:48 +0800 From: Miaohe Lin To: , , , CC: , , , , , , , Subject: [PATCH v2] sched/fair: remove unneeded header files Date: Sat, 3 Jun 2023 19:04:55 +0800 Message-ID: <20230603110455.158944-1-linmiaohe@huawei.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.175.104.170] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To canpemm500002.china.huawei.com (7.192.104.244) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" There're some useless header files in fair.c. Remove them. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202305280847.ss7JHZEe-lkp@int= el.com/ Signed-off-by: Miaohe Lin --- v2: fix warning reported by kernel test robot. --- kernel/sched/fair.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 373ff5f55884..1b626310cf8c 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -21,16 +21,11 @@ * Copyright (C) 2007 Red Hat, Inc., Peter Zijlstra */ #include -#include #include #include -#include -#include #include #include -#include #include -#include #include #include #include @@ -42,8 +37,6 @@ #include #include #include -#include -#include #include #include #include --=20 2.27.0