Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3929597pxk; Tue, 22 Sep 2020 06:26:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycEY78kqM0xKxgLv2SOnjKhBus6hvqwkoojv614BW2aipakCN9CABP/NbXSFXd0el+eG8Y X-Received: by 2002:a17:906:2786:: with SMTP id j6mr4843994ejc.73.1600781185458; Tue, 22 Sep 2020 06:26:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600781185; cv=none; d=google.com; s=arc-20160816; b=eOI9J5Glmz3FssovwQafOSocmUc0kEpPyF0jjfC7Vukvb++lWwtIO5Mb9KiSJwcu8q Ru+LapHtl6YncDYwc556fMP6+0r0ndHYNg+s6m9oO2NSEvDnXNkzzZVmx2LXtjf/95QR cQHheixUgzwm2+gp9e1LtcMjnHe+sps4VcHnc5qRe+rgOTtJIZ7hTmSA9CyDviMnXpy+ tocpEcZUkPwE8KCLGLzhmOFpdQtTJD0FS2jexU5kQNiPfoV4aPZJV0KdSEUUiCCJEw69 PrgJoS0wAddTgJ41r+WGYw27UqaCvxG6vOcBjh6nj4i9uVL0ZJV6KJEuR02yA1cklHvN vFoA== 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=/Iu5Mc8XbGs25OBwUWWi32XXrMkh4pOnpSXXB5aduHU=; b=gvlKMMzmwA37bQ7AK5tJBarShvyT+Fgsgj7eLZkXJFyoU8L4/L15nsObuKq9DxP3IY gwR9voIm2TeYN2RhfTRt6lZZDFoD6rpG7KfWM3pj0/mUhmpFyYftA1M+gOqW4zkayxVp HGRmChyPWinHhxkjOpm1Cbg8r3jG3t9m/CIfHLVqLjm4d3z3vUXcJABSHi9U0hhIkGH1 8lzUobYArZ9d4G9P+IhuO3xU29rmRear8b5eojpcn9l/vQgKj5LbFx1X1XCYL6udQZny m+6WxIvKkna8d0kHpj7M32VJ2My7ruD8exm0erTG8kDTaDZnPIMZgi9lgu3yxSCvEzUf PeyA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h11si10255162edr.319.2020.09.22.06.26.01; Tue, 22 Sep 2020 06:26:25 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726627AbgIVNYX (ORCPT + 99 others); Tue, 22 Sep 2020 09:24:23 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:41416 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726470AbgIVNYX (ORCPT ); Tue, 22 Sep 2020 09:24:23 -0400 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 43BA166D63C5CBD85B6E; Tue, 22 Sep 2020 21:24:19 +0800 (CST) Received: from localhost (10.174.179.108) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.487.0; Tue, 22 Sep 2020 21:24:12 +0800 From: YueHaibing To: , , , , , , , CC: , YueHaibing Subject: [PATCH -next] sched: Remove unused inline function uclamp_bucket_base_value() Date: Tue, 22 Sep 2020 21:24:10 +0800 Message-ID: <20200922132410.48440-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.108] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is no caller in tree, so can remove it. Signed-off-by: YueHaibing --- 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