Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp81110pxb; Fri, 17 Sep 2021 19:31:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwdiCauJ03n3U29p6WYttSsLYyUzoBLBFJglgV278gIBhmmib+N2meeSqTfBLCrbbew20W2 X-Received: by 2002:a17:907:2633:: with SMTP id aq19mr15930469ejc.534.1631932282640; Fri, 17 Sep 2021 19:31:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631932282; cv=none; d=google.com; s=arc-20160816; b=KIIRNQ6Qk+CEeVgvRy1waani2tM591f8x452NgbRcJFUMtokDdg6xhNh+DcR6vfbDV 30dhTFefbtzr09CctKKZWdLTyrcJ1tnlQaBvm/I09M0fReU7YGG95bTYxdQRbdYvVH+j 4ycjWxN0CrGr6g+1Krtw6ImReHjZTtivbRBSicLjfSW6Mb5hfY+LnDL/6reY+istjAO2 M42hhzEWRdwKddjW21yKpK2ZKxBoIjN9HKzB/LV2VhuW1P7RajO/w4gzWbq8gHcfjGmX f99rFdigzoLId43I0FnCmegY7GhSuheIgFtPW4i2Mq+c1scNhQaviBbnkEAAGxud3xK3 Phhg== 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=BOE455zCgHMRV2KtcMLJJjrjMSeHfZJ2aD7gAmLLL9E=; b=wRTd9BDMqdGllhZTiKW2cDHPJbaHNpvF5EVhN7NmcAZY97bY5GylglKCtNT3qrbXj5 KEIycRI/qa98hAw3U2fmFrShQJVhmqlpabYWc/pfJQWGmc6jzu5x31e+fZA08aFGi0hl qXHhOfmQSdLcXsi4r9wpLchasooJ/p3hTyHL91CVwcCdJtYoroLHxETYpJFzTrFNwXMk OwwEG3cyImTxPO1l6wiPPdpxHDNMPmAHid1NM47RY49rpSzA+YtmqklmoDNFwezJgLSP bIjx6b4tw7Em+fQuJQXPpYHexbCKi98ty8Cju7S3CaTVWyzwRxMD910xvyj25hMnUcuA WO+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=RZh0FWMx; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=KzbMJYo8; 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 c30si9292467ejj.786.2021.09.17.19.30.53; Fri, 17 Sep 2021 19:31:22 -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=RZh0FWMx; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=KzbMJYo8; 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 S242385AbhIQSi1 (ORCPT + 99 others); Fri, 17 Sep 2021 14:38:27 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:56298 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231364AbhIQSiZ (ORCPT ); Fri, 17 Sep 2021 14:38:25 -0400 Date: Fri, 17 Sep 2021 18:37:00 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1631903821; 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=BOE455zCgHMRV2KtcMLJJjrjMSeHfZJ2aD7gAmLLL9E=; b=RZh0FWMxxRIt+RezQeTESlmA/21VmeiFQk3m2W3dykj02a/wl1jjN3fJtgNJbbcprBjrwV FnqR8vzFnYA0jdmd9A0Q81py8pAIUBWgFUAH6o1QnjvCsgVxETs/KBtd7MNjo5xTo+dD90 AHcsE9wVyjsZ3bxtYnIm0ZYlEpaPOffCRsrSCc7vMk9j2yiEpf+Dpb+LVGLEgPsaRE+hN8 SeHZUULyJ8XIAAHijbuJJVfB7vW3M4cYhSg3XxfeT1W+cBAIqca9nMtyD53WTJCFNC2ToF F+HFP+g+TB9bxW802GXi4y8jEEYBo8eNSxxyjicaii4El0WEQ2BtsQy52OQ8bA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1631903821; 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=BOE455zCgHMRV2KtcMLJJjrjMSeHfZJ2aD7gAmLLL9E=; b=KzbMJYo8gNsrByNQCYUCyHUJdrhyiVgFpJec+UBKYYJj3lK+9eQC6qA6tnHWTTmptwIUK5 Q6OVY9KTVQtXbTCQ== 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: <163190382071.25758.6548863054688812006.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: e23bc1e6d52e9b9ecca895b408a4eca742caed16 Gitweb: https://git.kernel.org/tip/e23bc1e6d52e9b9ecca895b408a4eca742caed16 Author: YueHaibing AuthorDate: Tue, 14 Sep 2021 17:52:44 +08:00 Committer: Peter Zijlstra CommitterDate: Fri, 17 Sep 2021 20:32:26 +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 094ea86..148d5d3 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 *