Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1314278pxb; Thu, 16 Sep 2021 05:02:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqbRmWZRnHrmJtbiPXM0BYVz1AV1DRb7QxPSd0Ohotlb/oUXMFqWl+NOEbMIrjEzrRNHfs X-Received: by 2002:a5d:8b8d:: with SMTP id p13mr121471iol.216.1631793726508; Thu, 16 Sep 2021 05:02:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631793726; cv=none; d=google.com; s=arc-20160816; b=CE/K0yWzqqgEtcACBTU2S1BYxzJYPPAruJzZyJCUKibYi2yKSW0uxc6LkuHgm7K9r1 nY4BtaeFL5NVq87zKyMKzjBPxLr4e6vK9Xv3wp/0jCkMj2hzABML5P7D9305YhI7gP4/ jEuxFs0NcczbPiXH4Tk8UCrvuwaR5HpChiy7XY0CBKN4rNG81O/bMc4VnlaF9u2ujAk2 abm7hcTfmTzPOVZTXXv2Ft6hT673U+sZBpQd6tkAdcRj7IKNdjj9Nob6MgDpffir4Ze+ AomI0FtB23+VzTCFkvSK2McRu26itOrMhO+Gbj/WTp4etiG+b5yLqPDDb0rwlExXKsPG 99DA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=YIsADEUqwNmNzW5LJZz5jVYVRaL7RS44v/2kCMycPB0=; b=BbJFGVxgEUQyozuRO6W8SvyfkQCDLpPepfR9HnUOx7YnT8BzTnGRZy36TllunR40Sb 5GyzD1tRxfivQqqHvHsSP5rs6UW4oqBC/9+qAam5TWs6Z8WXyDSYs6AXca1p95HN9uyh m+I7L0g5lTTja1F0A0XROq0mb9C826P1ddYhmqhqPsRX8kk1FsOnjKHXU9Vj94VzCk0s 8VSIuyw+Z7nqzVjbMA0w8jsXAvsKN4fEYLBEgU83cvQuIJ98HN2msRQAx8SjpKxjwaVn 30PyihFgE7zwZ5rEEtalvI/FR7orogUvqdwK60vQBJFEnDTCF/qYxyJpa96KD7TsiMjC LzJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=0ECp56J2; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s5si2496768ilv.155.2021.09.16.05.01.52; Thu, 16 Sep 2021 05:02:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=0ECp56J2; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238791AbhIPMAx (ORCPT + 99 others); Thu, 16 Sep 2021 08:00:53 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:47516 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238693AbhIPMAs (ORCPT ); Thu, 16 Sep 2021 08:00:48 -0400 Date: Thu, 16 Sep 2021 11:59:25 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1631793566; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YIsADEUqwNmNzW5LJZz5jVYVRaL7RS44v/2kCMycPB0=; b=0ECp56J2GxOKbKAlN/HHOY9QJWCWXsefS1fKwOyu64AFFkZ7hhCyXMfy5oeXux84f0TqI7 J6YS+qs+w9N2FVpQdUHkCOeIbI5IirFzwkggl4A9CVBvS2U/KhV0w+SxiDJW1mES6BiIO6 82/K0TTxeZWqJTqOfVUD2l22H7YEKb+ZXaz5cJESqtACUGqiBugcuhcu+Ey+Lpkw+jM4Ae yWBA2V7ioOxCXlnoX+cFS+AK/WLESpVWsVu+OBphkPaH8iGOmd0bjgOxwcpVv2BECjw+hR CfqDlus00yHK68ekpAmPIPwZ7UsArOcJR0kCr3jcPT5a0cr16aue/OV/kHMdxg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1631793566; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YIsADEUqwNmNzW5LJZz5jVYVRaL7RS44v/2kCMycPB0=; b=7kGwfbsi+BHRT+PCFNWV+eiTIHVF8GONp0LA8bPJxlvTQ4eNGL79El6X6pSaJbEblGD+LR IOM1sw27CVLoEkBw== From: "tip-bot2 for YueHaibing" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/core] sched: Remove unused inline function __rq_clock_broken() Cc: YueHaibing , "Peter Zijlstra (Intel)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20210914095244.52780-1-yuehaibing@huawei.com> References: <20210914095244.52780-1-yuehaibing@huawei.com> MIME-Version: 1.0 Message-ID: <163179356588.25758.7661405207431410606.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the sched/core branch of tip: Commit-ID: 33effaafbaf9c0070eac69a362120f4d1c26b5cf Gitweb: https://git.kernel.org/tip/33effaafbaf9c0070eac69a362120f4d1c26b5cf Author: YueHaibing AuthorDate: Tue, 14 Sep 2021 17:52:44 +08:00 Committer: Peter Zijlstra CommitterDate: Wed, 15 Sep 2021 17:49:01 +02:00 sched: Remove unused inline function __rq_clock_broken() These is no caller in tree since commit 523e979d3164 ("sched/core: Use PELT for scale_rt_capacity()") Signed-off-by: YueHaibing Signed-off-by: Peter Zijlstra (Intel) Link: https://lkml.kernel.org/r/20210914095244.52780-1-yuehaibing@huawei.com --- kernel/sched/sched.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index 1d8bc76..eacc15d 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -1426,11 +1426,6 @@ static inline struct cfs_rq *group_cfs_rq(struct sched_entity *grp) extern void update_rq_clock(struct rq *rq); -static inline u64 __rq_clock_broken(struct rq *rq) -{ - return READ_ONCE(rq->clock); -} - /* * rq::clock_update_flags bits *