Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp248188lqt; Thu, 6 Jun 2024 02:21:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX73/gDTpPE2kRz3AeqXa8we71QNOEheL0uC5NK/zEon/lLC/9DYMn41YQEP/gKGTvGYp0X9+EP362GXHboox3GC9ooexz53D2gER1fnQ== X-Google-Smtp-Source: AGHT+IH0ezFEa2qnqbe4TcnLrHsGFG+Iv5c63W+Xd1Spv/EZZKJm9GcKABDd7V0w5p6lhW7xtlST X-Received: by 2002:a05:6214:242c:b0:6af:c626:7fbf with SMTP id 6a1803df08f44-6b04c0a1cb4mr39532556d6.29.1717665700922; Thu, 06 Jun 2024 02:21:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717665700; cv=pass; d=google.com; s=arc-20160816; b=pe9vvpX8O/vAZPpd7jOSsHbKDSwx+GAwteXQgMhUrZoNlzr1SexUz7k3VX2cFD+y6F 1uDOFJhXARA7thhwwaaOHY5orw8MclbU5vUbedt3pqn/15DQ72XKgsfzlfbbbS05YLJV WKsTG9pvRrHlBVKj2LOV0qcxaDoHq5DelpE7/BcbW0m4FTk/zbwBwo6BII2FpDUHgM/D QjGb1fUXujQs8L4z3O3nhpm30oES5p4lsbDkAQsyEaEFyGt784W48j66vlS/vn2LuaSS VEbosjU5EWzB+06hq9l7TP8XqDSR+1gLyg0ETroSNlpIS7/vUnmDBp4DVGfKwkSzXWRc 5UiQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=wcXIPNgQrR+DgSrmuymqN3XstidFD7hYTTqhH9jc/cs=; fh=3lr2AE/SRz8PXnDZbXw7gesahYDBgeaj1QGw/O3GYkM=; b=pN0pS+bgiQH6rfJWbVM9oEuXCZ8K7+GEnrrYTRZJDJIPvoEhZKiB64v9rIRim3qyDv XoaCmv0wJRlWaNeAo54y+998+meOkqUtsqw6LfKXbLo+C9P9jRzhZmTTNggMb787lC3J w2mm/y8t3VDv4DnimdrVal514HEQzn7w6FuHs7Tqdl0PfCo3Sa/aQA1InncCF4NESm7L DXYRcFGBWD6xxaJBrgHzmK+/gFRfgzIcWuIzYz9aGOxlNGmW03NuO5Tc3ckYEszWDzqx M/tBZklcGZLoVcJDhGbXBVWwGPIkbkhuNhoQS8KSwkBeb1dqJzYtwoJc1KUmniy0fkzN qJvQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="cqgY//Cu"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-203974-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203974-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6b04fa3b532si10300396d6.527.2024.06.06.02.21.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 02:21:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203974-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="cqgY//Cu"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-203974-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203974-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A250A1C237AB for ; Thu, 6 Jun 2024 09:21:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8E9C2152E0C; Thu, 6 Jun 2024 09:19:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="cqgY//Cu" Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 879F91527A4 for ; Thu, 6 Jun 2024 09:19:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717665591; cv=none; b=B7/mnpUH2e3qYfrssMyXzIMkee4mYJ9uMiECGokZDktJdPVs+NpG417BaQrTzLLoFKczT8LvM6E6ZWWXaRgwlvg4yE0pwfN7y/VMPX5oDLtYry84QH9L0VNytSxo/s7AubETPG1YQJAguAd42+lZmSYQfMHuS6O6zxUEBTtbLi0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717665591; c=relaxed/simple; bh=EzWA7J6+Si0GsYhDrB0GB62Cf6i5+4xDtWUlgWkWX6M=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=luH7nVvMT4g7lliCKKxoMnO/2sz1B18TsfgBjlgITwqFuWHr2WbeyKV0AWDhVi19ErCa1gPdAi1bAUFnTvJ9SPxG6l5EdcAIvu35ejhFuxJhrRt6tdJLUPab1BqHwawoGYQg+NpEwdyDfCEKz/wtpFUSgruvZiu58vAFdRxpkiw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=cqgY//Cu; arc=none smtp.client-ip=209.85.210.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-70260814b2dso554939b3a.1 for ; Thu, 06 Jun 2024 02:19:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717665590; x=1718270390; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=wcXIPNgQrR+DgSrmuymqN3XstidFD7hYTTqhH9jc/cs=; b=cqgY//Cuk0S7WgwZ5QzTtSqqqrMB5Rgj4hNZdl5Pm5uf+McIgBZe3I5io8ZA+qJ7/y bROjmsmzsv/2hZW/s2CwT2onr7vnFo6DK7nHODgKVHODLs4IJea3tjL+qRHH3Tp1rsV4 pKRYZczeVZC2AXAaZmblhwoizl6bInGsjAosnBBQ5r4x0WYJfp7lVgLB830H+l7HMoys 2+V8veU3Whi/QtoqpNZIxxHvez9nXXMyEZHifDKvTOr+QlWPubvWoE3egnWjF9xNxEkq d2qeXagnPavCdc1x5jgnxsSHXemfOsYXAaCAIDqvWJws8pEPk62ER3ztw7DdMO6lPYel hekw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717665590; x=1718270390; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=wcXIPNgQrR+DgSrmuymqN3XstidFD7hYTTqhH9jc/cs=; b=Y/GWx+hLiiaaZZnhxf90ms0V/Splm13SU+UDGLyyjOzKmWfvMSXiby0rjSVEfVzbRL OADj607TL1aMif17kPwUz+DOcoWI6A0mcMn2Kd8ylKL+y0kzSkSlLoff+yMN5pPBQw9Q 1N2V1dULKLrWJHB1RlnC/nF9pjFiAZSp51TkulCSoKEHTBEET0PK/s0WqQ1GNQcWoIVY 1CAYrCcSXIgHdhk+V94u3KsSg23vzcX6c/dwakAqVTqFUbWfWkXuYsHsTC5ZCdWgCtzP Ns6Mk/xo61+iccGgMslT2e0k4Dmy/Lp9sAChyn3a+n4SfnZfWmI2FXFEAHj9x783/PU6 XBcg== X-Forwarded-Encrypted: i=1; AJvYcCVXueh4RXdhcR1s8gLfphlxphgWqt3yGgSj+2t7G+ztCxuZYzrvFD+pWg9LJhv2xumou7Ab6qVdk6nXaviX2nn+xRBLO8QrNKneQbId X-Gm-Message-State: AOJu0YzC8wKnYMy7xsBfYAjKp45SvFl0kexpJadhhNQqCHgj6MfjL/Oi Uy0+s2DPpiPhYtRp8a/MPVWjjcqj4nFKxUy5ysFIPczTrbowIRkp X-Received: by 2002:a05:6a00:1992:b0:6f8:c94f:578a with SMTP id d2e1a72fcca58-703f8875bdfmr3234762b3a.12.1717665589656; Thu, 06 Jun 2024 02:19:49 -0700 (PDT) Received: from localhost (97.64.23.41.16clouds.com. [97.64.23.41]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-703fd53e0d0sm732983b3a.211.2024.06.06.02.19.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 02:19:49 -0700 (PDT) From: Wenchao Hao To: Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Valentin Schneider , linux-kernel@vger.kernel.org Cc: Wenchao Hao Subject: [PATCH] sched: Remove header files which are included more than once Date: Thu, 6 Jun 2024 17:19:23 +0800 Message-Id: <20240606091923.3512950-1-haowenchao22@gmail.com> X-Mailer: git-send-email 2.38.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Following warning is reported, so remove these duplicated header including: ./kernel/sched/core.c: stats.h is included more than once. This is just a clean code, no logic changed. Signed-off-by: Wenchao Hao --- kernel/sched/core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index bcf2c4cc0522..8e93fdbfeff4 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -90,7 +90,6 @@ #include "autogroup.h" #include "pelt.h" #include "smp.h" -#include "stats.h" #include "../workqueue_internal.h" #include "../../io_uring/io-wq.h" -- 2.38.1