lkml.org 
[lkml]   [2021]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] kernel: sched: Remove unnecessary struct declaration"
Date
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@vivo.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
\
 
 \ /
  Last update: 2021-04-05 10:27    [W:0.022 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site