sched/headers: Remove duplicated struct rq declare
PATCH 1/1 sched/headers: Remove duplicated struct rq declare
struct rq has been declared at the top of the file, so remove the second declaration.
Signed-off-by WangJinchao <[email protected]>
--- kernel/sched/sched.h | 1 - 1 file changed, 1 deletion(-)
kernel/sched/sched.h +0 -1
@@ -931,7 +931,6 @@ struct uclamp_rq {DECLARE_STATIC_KEY_FALSE (sched_uclamp_used);#endif /* CONFIG_UCLAMP_TASK */ -struct rq ;struct balance_callback {struct balance_callback *next;void (*func)(struct rq *rq);
Signature · 1 line
2.40.0
Quoted 13 lines · WangJinchao
struct rqhas been declared at the top of the file, so remove the second declaration.Signed-off-by WangJinchao <[email protected]>--- kernel/sched/sched.h | 1 - 1 file changed, 1 deletion(-)kernel/sched/sched.h +0
-0
kernel/sched/sched.h struct uclamp_rq { · line 936
Quoted 7 lines
kernel/sched/sched.h +0
-1@@ -931,7 +931,6 @@ struct uclamp_rq {DECLARE_STATIC_KEY_FALSE (sched_uclamp_used);#endif /* CONFIG_UCLAMP_TASK */ -struct rq ;struct balance_callback {struct balance_callback *next;void (*func)(struct rq *rq);
Reviewed-by Tim Chen <[email protected]>
Tim
Quoted 5 lines · WangJinchao
struct rqhas been declared at the top of the file, so remove the second declaration.Signed-off-by WangJinchao <[email protected]>
Reviewed-by Vincent Guittot <[email protected]>
Quoted 19 lines
--- kernel/sched/sched.h | 1 - 1 file changed, 1 deletion(-)kernel/sched/sched.h +0
-2@@ -931,7 +931,6 @@ struct uclamp_rq {DECLARE_STATIC_KEY_FALSE (sched_uclamp_used);#endif /* CONFIG_UCLAMP_TASK */ -struct rq ;struct balance_callback {struct balance_callback *next;void (*func)(struct rq *rq); --2.40.0