Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1138929pxk; Fri, 25 Sep 2020 07:13:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJykPaKQfCe8WinAuRyxjnSvuUnvRz5xymuY5bzVz7IMUrpRZJCPVdZHxGTKu6Mfo3teRNyD X-Received: by 2002:a17:906:49cd:: with SMTP id w13mr2852568ejv.151.1601043232396; Fri, 25 Sep 2020 07:13:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601043232; cv=none; d=google.com; s=arc-20160816; b=tdayrtX84NAuOA2AudOOUylQpVMV8YA64SYgGjf1SnGPhfaedjIywRpkeRz3wCM65F RGboG4qiSeMlGaScVny2zDo8Mu0LD3haxBRS/vj7KYduRgjQPp6BmLWcvocP8k9LbBcN PVP7S9uov7yc4ZJuI36VceZB8xcNlf+4u0kdtouy4LAneMVRzTIApaxPjmC6kNqRfuQF nD0Rd6H1S4HYudgivI5txmIDcpm4iGSL5fwkBk/FLGuqbltY21PwXHHpGU7tSTi/0UiK abcclq0pssu95X7nCbDw0Mkch/ZVmT/ctFs9KqVN0BcKI6NNtDLsEqFQEMuNJia4sncM D3VA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=e3EHYGO+Bk2YmEykFKBXqgnpGOmXC25sDRNG2CxcX0k=; b=Te7mCodz0rk33ebpzepCqko+abFgEDeT3rCZFqZbm6z4Lg5b3SF5zmQaPlOBf2wiNJ OPDjd5+X6bKUFaUhJwuXZ8DEj7RKG4C9EZLFNlhZvUcjAyDXLAFqpl5n2/GfwReBI4sj kMG5JS6WSckyxxTVV8nbP9e/qlf5n0IdiE9eqRmNpG2h5IzPRkQYP+/2KNp5ZATxzt6D aDxThxiutC9Dzvx9GhbkyPXx7b+BvJR90XbeYZnoFPKCM7yYFwpJu0MCyUfG/qWHCtac oHR/isiNhWKSFfEjpmejvfhZM1VY9kg1PL7nifTCGXgdzTpbG3KJDoSJfWtKiGKlhfzo bANA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wLZOEWU0; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n4si1913572ejs.15.2020.09.25.07.13.28; Fri, 25 Sep 2020 07:13:52 -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=@linaro.org header.s=google header.b=wLZOEWU0; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728907AbgIYOMQ (ORCPT + 99 others); Fri, 25 Sep 2020 10:12:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726368AbgIYOMQ (ORCPT ); Fri, 25 Sep 2020 10:12:16 -0400 Received: from mail-lj1-x244.google.com (mail-lj1-x244.google.com [IPv6:2a00:1450:4864:20::244]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05902C0613CE for ; Fri, 25 Sep 2020 07:12:16 -0700 (PDT) Received: by mail-lj1-x244.google.com with SMTP id w3so2611249ljo.5 for ; Fri, 25 Sep 2020 07:12:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=e3EHYGO+Bk2YmEykFKBXqgnpGOmXC25sDRNG2CxcX0k=; b=wLZOEWU0r/DdQeM7DbsimwS6gE5Xs8/HVtNDa1iG0oa3mVTzXa/qFAJY8BuVEFwkwA bTr0ZZF49k5O5Qwg7RoQzfhB4SvqhdJBeixSQk4YNMwiIGD45JLSWSYNWKhav8LDrNYw p2F3sj54TxRIjoej1NY3LwPwx/1BoPFx1el+csul39BR4EmKkVG7vmihyXBc1ytHDaIn KCuAJtsnroBkiHdYUvR/a6w6grHxNTjcyuaMsgs5ucf22Up8FHGGnBBOWXpjFLYy3+5t 9btdRYvCQIIjUaAaEakcIeIvC609YCFc3fJ6d0V4Yc53kRKlPrJM9qZvANtOCKQLnS9J VfrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=e3EHYGO+Bk2YmEykFKBXqgnpGOmXC25sDRNG2CxcX0k=; b=G3BV1wOWY4aP62PsdpbOfYPq1QiiJ8qDs7HIlCDoiWXyHtIOyT//SUFIssA3O7ROFR ydE4SDf0zc84M8QWb+/YEm0Fe29EAvwwrPcyJeDz0wiPUpD6Nw3QAz6qOruhhlH0lzH0 DNOkFI5q3wkm/cxg2b1OumdYENZNYyq9jtw+Sm81zwnS+frQAjXU7QL2tKrOUvscoyrG +J9upiUMKd/uWOFObNRpGPAlLiTwp/YhzpMWaovzPUDyoIxfU/Dnj8FA0Zjyc/RPs9no vGhtaeiheOKZhX15ljdOZNsipj1YViv5ujMKEcpgEcsvKvhLKWcK9Te2qWNdt5vGg+X7 bDGw== X-Gm-Message-State: AOAM5305jWy/NSwCJ32l77lgQ0JcVhYe3vQYHvaNpvDH3GflpmE2cdP8 Rjow91vzBAhv1e2IG76Jc86jHupOl/uBa2OAlAMbcA== X-Received: by 2002:a05:651c:505:: with SMTP id o5mr1537601ljp.177.1601043134426; Fri, 25 Sep 2020 07:12:14 -0700 (PDT) MIME-Version: 1.0 References: <20200922132410.48440-1-yuehaibing@huawei.com> In-Reply-To: <20200922132410.48440-1-yuehaibing@huawei.com> From: Vincent Guittot Date: Fri, 25 Sep 2020 16:12:01 +0200 Message-ID: Subject: Re: [PATCH -next] sched: Remove unused inline function uclamp_bucket_base_value() To: YueHaibing Cc: Ingo Molnar , Peter Zijlstra , Juri Lelli , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , linux-kernel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 22 Sep 2020 at 15:24, YueHaibing wrote: > > There is no caller in tree, so can remove it. > > Signed-off-by: YueHaibing Reviewed-by: Vincent Guittot > --- > kernel/sched/core.c | 5 ----- > 1 file changed, 5 deletions(-) > > diff --git a/kernel/sched/core.c b/kernel/sched/core.c > index 2d95dc3f4644..1b06b952dbbe 100644 > --- a/kernel/sched/core.c > +++ b/kernel/sched/core.c > @@ -940,11 +940,6 @@ static inline unsigned int uclamp_bucket_id(unsigned int clamp_value) > return clamp_value / UCLAMP_BUCKET_DELTA; > } > > -static inline unsigned int uclamp_bucket_base_value(unsigned int clamp_value) > -{ > - return UCLAMP_BUCKET_DELTA * uclamp_bucket_id(clamp_value); > -} > - > static inline unsigned int uclamp_none(enum uclamp_id clamp_id) > { > if (clamp_id == UCLAMP_MIN) > -- > 2.17.1 >