Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp4635289pxb; Tue, 5 Oct 2021 07:16:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzqZ41ubD7EmZQeD0ckO/0gjLFWNBRywX3ostEkQwntyzjjaeSRe1QIyn7GUnehLMx2yP9b X-Received: by 2002:aa7:cd99:: with SMTP id x25mr26377171edv.266.1633443399805; Tue, 05 Oct 2021 07:16:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633443399; cv=none; d=google.com; s=arc-20160816; b=NayXpRCYYwnrEp4ffDWkKWh8HlES8FE73EYZacV3UuHabu/rwUBeB3UYvcWpg1EIWU UL/i34d46riAtLSyQoU5o3hPqxLtUKgaxJLQtOWc4HbrGWHweACnNQ0PHi/Z1MObbi8B dcFLVF1C3C34qaVfqjTZiSVOnex8BbmrTB1HjNPUnbaE9AWy2KyAhuYS8HFALUosUheP 3scoyCPAwvVMm3jm7RVZyC5kzkwMXuBBIGQkgiF1Eu6S17vBqJ6jsc+meXWnt5PTRFe4 xq4BIYVIeNII8E0o8+sRc0qKgVEqrtkQuEBjW7DywMOvOFUgKlVecl7siW4F3pPv0ccj 1IVg== 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=e/ddAYHU5SAlvf+h1v5SfBA4lLMMmyacvaU9NR8O8IE=; b=ILYH2JfpokApN4SXQm8SNJKxTOkjGT30BBGoR9q+poShoMxmhOcQZUAGda5sqtgOr6 TZLea2oom6Hk7lxsEzJkja4Vn1PxZljFCFnEfE1odXRCj+qL9x8pVJUIG3E/41j5kEiE L4BQL1zC56L+UVto8AcZWwyYxsR8kYHoRo5AySG5E9C/hUy8ul8g4pAScqrT8jbgL0Kw Gcnrr5ynSsr8sRtUJaUNnXI1qJsDrMknQBSBGDwy6+S3E6Oj+LvXjoCggJtJi8tPPT+7 V6UxT6Cf3Xw82DJfWQkEz7mPrHXzEMBWjq+MxYYzeG+09dRAlr7O0ubWIoT8kAejynSL MsJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=tusA1uj5; 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 l19si20384203eda.351.2021.10.05.07.16.09; Tue, 05 Oct 2021 07:16:39 -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=tusA1uj5; 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 S236312AbhJEOOn (ORCPT + 99 others); Tue, 5 Oct 2021 10:14:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235469AbhJEON6 (ORCPT ); Tue, 5 Oct 2021 10:13:58 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CCB7C061749; Tue, 5 Oct 2021 07:12:07 -0700 (PDT) Date: Tue, 05 Oct 2021 14:12:05 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1633443126; 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=e/ddAYHU5SAlvf+h1v5SfBA4lLMMmyacvaU9NR8O8IE=; b=tusA1uj59nyn4/9dtcZR6lJ96fN2pdAKPY3rdnGOaXeKJm61nHd8ZGyQ7h8dkRB9YzLz+t hFdPcurfFDglMAGglLvYloQazf5vuWOhpJm+uz6WGH8C4Puy02wdi37kPnd1ABOL3HOpqQ 8w1kthgaWOkgjxeww76BwL3x3VkCW6KqoPc7GOlRywiYkvPzA4fJn5gt6HS6a7VFdu0J3u Nhmpajjon/cHn2hdx+QcrKJxP1K3rVn/yA9sEOnQK+ieJEXCC8lil1Cbg3fTwf8I16W9ZX dAg0pgZKpDj+7K0wSQA9z+CGxNlzR/Jw6hCQkt6jMeRcwP3qwwQj2uWnlUAi6w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1633443126; 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=e/ddAYHU5SAlvf+h1v5SfBA4lLMMmyacvaU9NR8O8IE=; b=g48juJ51UH8GZzgeiIHuxX9G7S9NPfT7GGHjqqxZ13U8CDLOlZ/5e8/xnVZkkJHcf2o/3z GmK+g14ryvTA3fDw== 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: <163344312520.25758.13885264891205156672.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: 32ed980c3020b7a19e26dc488c10817807ba2a41 Gitweb: https://git.kernel.org/tip/32ed980c3020b7a19e26dc488c10817807ba2a41 Author: YueHaibing AuthorDate: Tue, 14 Sep 2021 17:52:44 +08:00 Committer: Peter Zijlstra CommitterDate: Tue, 05 Oct 2021 15:51:55 +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 8712fc4..198058b 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 *