From nobody Fri Dec 19 07:50:29 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C333EC4167B for ; Thu, 7 Dec 2023 12:39:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379390AbjLGMjP (ORCPT ); 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 ); 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 ; 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 To: Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Valentin Schneider , CC: , Subject: [PATCH] sched/headers: Remove duplicated struct rq declare Message-ID: <202312072018+0800-wangjinchao@xfusion.com> MIME-Version: 1.0 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) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" `struct rq` has been declared at the top of the file, so remove the second declaration. Signed-off-by: WangJinchao Reviewed-by: Tim Chen Reviewed-by: Vincent Guittot --- 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 */ =20 -struct rq; struct balance_callback { struct balance_callback *next; void (*func)(struct rq *rq); --=20 2.40.0