[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20210405082542.160279-1-wanjiabing@vivo.com>
Date: Mon, 5 Apr 2021 16:25:41 +0800
From: Wan Jiabing <wanjiabing@...o.com>
To: Ingo Molnar <mingo@...hat.com>,
Peter Zijlstra <peterz@...radead.org>,
Juri Lelli <juri.lelli@...hat.com>,
Vincent Guittot <vincent.guittot@...aro.org>,
Dietmar Eggemann <dietmar.eggemann@....com>,
Steven Rostedt <rostedt@...dmis.org>,
Ben Segall <bsegall@...gle.com>, Mel Gorman <mgorman@...e.de>,
Daniel Bristot de Oliveira <bristot@...hat.com>,
linux-kernel@...r.kernel.org
Cc: kael_w@...h.net, Wan Jiabing <wanjiabing@...o.com>
Subject: [PATCH] kernel: sched: Remove unnecessary struct declaration"
struct sg_lb_stats is defined at 8043rd line.
The declaration and the definition are all independent on the MACRO.
The declaration here is unnecessary. Remove it.
Signed-off-by: Wan Jiabing <wanjiabing@...o.com>
---
kernel/sched/fair.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 794c2cb945f8..94e035da90c8 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -8609,9 +8609,6 @@ static inline enum fbq_type fbq_classify_rq(struct rq *rq)
}
#endif /* CONFIG_NUMA_BALANCING */
-
-struct sg_lb_stats;
-
/*
* task_running_on_cpu - return 1 if @p is running on @cpu.
*/
--
2.30.2
Powered by blists - more mailing lists