Message ID | 202312072018+0800-wangjinchao@xfusion.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp4750212vqy; Thu, 7 Dec 2023 04:39:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IH1ui29ngez7H8RED9Hax+k51qHC0VnScuhuymGj823NFeG6vsrPoJcdPAhxOvXX1gKkM4O X-Received: by 2002:a05:6a20:7b16:b0:18f:97c:8272 with SMTP id s22-20020a056a207b1600b0018f097c8272mr1961844pzh.124.1701952766863; Thu, 07 Dec 2023 04:39:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701952766; cv=none; d=google.com; s=arc-20160816; b=l04nexaEph4DYGqg/wOb/T+JXKbwYR3DI0K48dBcNhDEBYIgAPoCbv7wYd7IXsNbua 6exCr11CiOXpVBXCv9/b77lO3CFtHZ6/61qpUaSve+8CFSDhWq0R5opAPdbVOgpZCzVK r9j9A2fkvZ/cliV57QAFEWikvsjkSD2Ml3T3ThUMu1NyRP97PKSGL7fXJuT3z9GPRT2o 45W+p+vuv+M/7JoC7eSOCXZgvMzpGwjmmKulmHzrvU31co1nWSQqyX5ROGEokxVuHMVH bggiPDOa/oOwPfmwWGPBlt+9u/kIx8VdCZI4S0qrsp+C3kb8iF8MaAa37XkHErd1brIk MG7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date; bh=l5Ib7HMnQ2cIDNINq3PKKgPkN6iA+OFSJkmbdBSCM74=; fh=f40UFx4PIoN5VHjot5Te0Vsnl2epc2I3Vpkjl2f6MCo=; b=tNe2GQal0ephxJkhTJ9273FPhFHIk0EyawECZifl/7kR94Er34JJ6VzHTYajkSbykl ZhojD606N1+wrJLXi/mswgohjP4XOCQ5Aw7q2+TVwlP/k0s0miT+Y1hgY4I83A6v4YJH WYLW5CNKUdPvQfFtAt2MIBI7G8X7lofk494rRKXoT9TOajjhFbzu388fiQSdYozAgnsG lqmn3YR52X7BkbCF7FRRWF6n3ZJq/6cmuJ74383sN7KqoSoucfdIt4DrUrWjK2V18GnA MfM+0pieVOOh50uz7cipAdiaVXrvm0DTvvT9+HEc+w3xEp585zbfs4aHG4zN6wQUdSKL H7ng== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id g123-20020a636b81000000b005b915369815si1109076pgc.155.2023.12.07.04.39.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 04:39:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id EF737804BDEA; Thu, 7 Dec 2023 04:39:23 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379337AbjLGMjP (ORCPT <rfc822;pusanteemu@gmail.com> + 99 others); Thu, 7 Dec 2023 07:39:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232186AbjLGMjN (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 7 Dec 2023 07:39:13 -0500 X-Greylist: delayed 1166 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 07 Dec 2023 04:39:13 PST Received: from wxsgout04.xfusion.com (wxsgout03.xfusion.com [36.139.52.80]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F16C710C4 for <linux-kernel@vger.kernel.org>; Thu, 7 Dec 2023 04:39:13 -0800 (PST) Received: from wuxshcsitd00600.xfusion.com (unknown [10.32.133.213]) by wxsgout04.xfusion.com (SkyGuard) with ESMTPS id 4SmCt15rxBzB0KB1; Thu, 7 Dec 2023 20:16:09 +0800 (CST) Received: from localhost (10.82.147.3) by wuxshcsitd00600.xfusion.com (10.32.133.213) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Thu, 7 Dec 2023 20:19:24 +0800 Date: Thu, 7 Dec 2023 20:19:23 +0800 From: WangJinchao <wangjinchao@xfusion.com> To: Ingo Molnar <mingo@redhat.com>, Peter Zijlstra <peterz@infradead.org>, Juri Lelli <juri.lelli@redhat.com>, Vincent Guittot <vincent.guittot@linaro.org>, Dietmar Eggemann <dietmar.eggemann@arm.com>, Steven Rostedt <rostedt@goodmis.org>, Ben Segall <bsegall@google.com>, Mel Gorman <mgorman@suse.de>, Daniel Bristot de Oliveira <bristot@redhat.com>, Valentin Schneider <vschneid@redhat.com>, <linux-kernel@vger.kernel.org> CC: <stone.xulei@xfusion.com>, <wangjinchao@xfusion.com> Subject: [PATCH] sched/headers: Remove duplicated struct rq declare Message-ID: <202312072018+0800-wangjinchao@xfusion.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline X-Originating-IP: [10.82.147.3] X-ClientProxiedBy: wuxshcsitd00603.xfusion.com (10.32.134.231) To wuxshcsitd00600.xfusion.com (10.32.133.213) X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 07 Dec 2023 04:39:24 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784626824535341006 X-GMAIL-MSGID: 1784626824535341006 |
Series |
sched/headers: Remove duplicated struct rq declare
|
|
Commit Message
Wang Jinchao
Dec. 7, 2023, 12:19 p.m. UTC
`struct rq` has been declared at the top of the file,
so remove the second declaration.
Signed-off-by: WangJinchao <wangjinchao@xfusion.com>
---
kernel/sched/sched.h | 1 -
1 file changed, 1 deletion(-)
Comments
On Thu, 2023-12-07 at 20:19 +0800, WangJinchao wrote: > `struct rq` has been declared at the top of the file, > so remove the second declaration. > > Signed-off-by: WangJinchao <wangjinchao@xfusion.com> > --- > kernel/sched/sched.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h > index 2e5a95486a42..349c90554bd8 100644 > --- a/kernel/sched/sched.h > +++ b/kernel/sched/sched.h > @@ -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 <tim.c.chen@linux.intel.com> Tim
On Thu, 7 Dec 2023 at 13:20, WangJinchao <wangjinchao@xfusion.com> wrote: > > `struct rq` has been declared at the top of the file, > so remove the second declaration. > > Signed-off-by: WangJinchao <wangjinchao@xfusion.com> Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org> > --- > kernel/sched/sched.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h > index 2e5a95486a42..349c90554bd8 100644 > --- a/kernel/sched/sched.h > +++ b/kernel/sched/sched.h > @@ -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 >
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index 2e5a95486a42..349c90554bd8 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -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);