lkml.org 
[lkml]   [2023]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[tip: sched/core] sched/headers: Remove duplicate header inclusions
The following commit has been merged into the sched/core branch of tip:

Commit-ID: d4d6596b43868a1e05fe5b047e73c3aff96444c6
Gitweb: https://git.kernel.org/tip/d4d6596b43868a1e05fe5b047e73c3aff96444c6
Author: Yu Liao <liaoyu15@huawei.com>
AuthorDate: Wed, 02 Aug 2023 10:15:01 +08:00
Committer: Ingo Molnar <mingo@kernel.org>
CommitterDate: Tue, 03 Oct 2023 21:27:55 +02:00

sched/headers: Remove duplicate header inclusions

<linux/psi.h> and "autogroup.h" are included twice, remove the duplicate header
inclusion.

Signed-off-by: Yu Liao <liaoyu15@huawei.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230802021501.2511569-1-liaoyu15@huawei.com
---
kernel/sched/build_utility.c | 1 -
kernel/sched/core.c | 1 -
2 files changed, 2 deletions(-)

diff --git a/kernel/sched/build_utility.c b/kernel/sched/build_utility.c
index 99bdd96..80a3df4 100644
--- a/kernel/sched/build_utility.c
+++ b/kernel/sched/build_utility.c
@@ -34,7 +34,6 @@
#include <linux/nospec.h>
#include <linux/proc_fs.h>
#include <linux/psi.h>
-#include <linux/psi.h>
#include <linux/ptrace_api.h>
#include <linux/sched_clock.h>
#include <linux/security.h>
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 324980e..27aff98 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -85,7 +85,6 @@

#include "sched.h"
#include "stats.h"
-#include "autogroup.h"

#include "autogroup.h"
#include "pelt.h"
\
 
 \ /
  Last update: 2023-10-03 21:37    [W:0.930 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site