Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp517606pxb; Tue, 14 Sep 2021 02:54:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRDh/QanmADJ3ueeVXsoohi86yNE5u+0oBMX9npmBRwy8eP/FbWGC6DZKq6Kr0jvtA25JD X-Received: by 2002:a17:906:8cd:: with SMTP id o13mr17754306eje.341.1631613278494; Tue, 14 Sep 2021 02:54:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631613278; cv=none; d=google.com; s=arc-20160816; b=bvTZHNOg21ZdKnbiTUgp1CLBaWwjZYyPu1YruF3vm8iKfNJf2ohAdUueiB5S8d3CnI A5izDGarjhKLnOcpEvBD31Lga+w4PO09VEdSbOjQm28K82aB1L9+l7uUvOZcStx6398u 0HmxqPNGjK2enWR15PeYW09x6St6CrtCKJjUsBDMbBJXmXA5GSgh8buY2BRvnmJqV5HQ vfN4NuMAQlY/2uljKS7jT9izzsc+ASUQfH7Oxg2wE2CG5v38yJFZ9HWDFj93l4FPwQYe Wqi5+i2bSJqdEUzYfPSYvYIUGgNibzRwclQHDMcBM8bzgpeEsSuDXgmwt1pYbBHH0y9D lh2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=ja/XH9q93OdOJ/J4FTJZy22Zz0yDzrKVx4fGJqzEax4=; b=v2cFaJdZMX89Msz3mdDper8NI46J8H97V0Hb2/ZlqjB1E4TeH9IKi8WEZTWDYR1n5i c1IT7TKoQDjuvUTf6BWlq4hv2YYRgsyT+Lo86nBFGwInWtMl4akD/vJu+KVOw1OAYin/ eI9VyeIhLbWN1tvr5Y3jE9zCc6Yr/zteqPK994ozvuv4+AJNWGeX8TqEx/gT2je+JCQv 2lB38cmCRSMhn+vycEAGMf28/fNp6A7NhoHZZ6OOKHVHYBBEidVq0plrvitSDW6FYdF2 UGKCIUypCClcc9VCW2qQ1jhEbFweo1J1v1g+hvrcHulpM1jZXXVOFlwJOcqbxQk30Mkg JKIw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w18si10372536ejk.612.2021.09.14.02.54.15; Tue, 14 Sep 2021 02:54:38 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229969AbhINJyS (ORCPT + 99 others); Tue, 14 Sep 2021 05:54:18 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:15411 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229589AbhINJyR (ORCPT ); Tue, 14 Sep 2021 05:54:17 -0400 Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.55]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4H7z7n0nZLzR98n; Tue, 14 Sep 2021 17:48:53 +0800 (CST) Received: from dggema769-chm.china.huawei.com (10.1.198.211) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2308.8; Tue, 14 Sep 2021 17:52:49 +0800 Received: from localhost (10.174.179.215) by dggema769-chm.china.huawei.com (10.1.198.211) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.8; Tue, 14 Sep 2021 17:52:49 +0800 From: YueHaibing To: , , , , , , , , CC: , YueHaibing Subject: [PATCH -next] sched: Remove unused inline function __rq_clock_broken() Date: Tue, 14 Sep 2021 17:52:44 +0800 Message-ID: <20210914095244.52780-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.174.179.215] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggema769-chm.china.huawei.com (10.1.198.211) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These is no caller in tree since commit 523e979d3164 ("sched/core: Use PELT for scale_rt_capacity()") Signed-off-by: YueHaibing --- kernel/sched/sched.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index 43e7fbe06557..4bca12681802 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -1424,11 +1424,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 * -- 2.17.1