Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3603875pxk; Tue, 29 Sep 2020 01:00:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJySeSnKk4trbh5xM98TaEtidxpquBoGZrBHkJltncC3krHZ2ZsJ07vtn2ggWOEtLMIu6rNX X-Received: by 2002:a17:906:a282:: with SMTP id i2mr2583526ejz.39.1601366454107; Tue, 29 Sep 2020 01:00:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601366454; cv=none; d=google.com; s=arc-20160816; b=iXIREi9o1wMBAgamQokxeOrXQAHATd4t6LSFgeBh2whdrm8RR7xWRcFlokR3dwXoI1 rB0wUaM3E+vhvazEu6HClSSTgIZzucOM3JKlbCzhWzunPHgU6TN9RrSqZhpmDarG8pdi RzUXv7ITk0HgnBjDXgxzDnNWzIi9tMC0pi7vV6EW8bZEYEr3Mu1cbI4wIPFI7lAS6hxe ZqIGDxiGuy18Jr1ZVWrQT2FlrZ+XJI8xT3tfXO0dZgENUMf+5Y0gDWOO9BKlE5Mf0Syn FSSwt6yA5Fl6Xu1M9e+cMUzh0KoT2PNPf4JuoTPrgsdXRptVV8Deb670nxQCZ8Zu8wVp rzKw== 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=yzSk0mih3ZnhDaBPWS7n7R6JzM1rIKi0erUcYb+Vuuw=; b=jEPHt1Ccpo1Hqbz9fuooEOL8k7oPykrlDyxz9zV8E1SP5lJkNKTxOJ78lzkjpzCP52 5AmCxY+8SZ5dUn4e2kCnADAF0nM6isZgdn7dtzYVd6ygcCVG+0Q6zUXCU3fHmcaUcxiH KYJORAjYMDmvktPtgnnn3aChholTrqmYM8j5SNs3gHViYmj3U5MHK8DG33a7UJvRK61z k57plegwFgoV2Tdg6l7a1XaYh8/zgQMK/Uja6EZjXomv4hPieKZkr+VJx8bEqVACrnqb XeUujHT3qcG4Q6QygReD1oqzOLUkbBSOswOYvTAfyFJzzLF/x+NcyDsEtGFrhCyKvwYj 615Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="HgJ/+1Pz"; dkim=neutral (no key) header.i=@linutronix.de header.b=sPYC9AtY; 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 cx16si2256182edb.575.2020.09.29.01.00.31; Tue, 29 Sep 2020 01:00:54 -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="HgJ/+1Pz"; dkim=neutral (no key) header.i=@linutronix.de header.b=sPYC9AtY; 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 S1727767AbgI2H5V (ORCPT + 99 others); Tue, 29 Sep 2020 03:57:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727685AbgI2H4y (ORCPT ); Tue, 29 Sep 2020 03:56:54 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D7D0C061755; Tue, 29 Sep 2020 00:56:54 -0700 (PDT) Date: Tue, 29 Sep 2020 07:56:51 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1601366212; 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=yzSk0mih3ZnhDaBPWS7n7R6JzM1rIKi0erUcYb+Vuuw=; b=HgJ/+1PzggrTwnThrcdbbdZIP5S3OaEwORv27AAosbR0Emzy/uOJE9DPARSgRiWJkJi0u7 DosAaiwG2VhQue1N+i0qJzSb/+4BX327Llh6lgC9AFzDqd4RLDhFfvR00sCCs5R7wEtEuN lmEVwKk9soEjFbtTiv17pHuFcx3OvmJLNd5D5wR10JPv1EmbwY+t1Q6Nrfd+0WMiR2rgvF ctvJlnr8sa0drI0ggZe4MeCsXTIJvFN+R76zN1EIxWzV0BMqbjVQoSrElz2o0SHnAeEm1W h3LOi6xmyYvTMnobr/yh3QJ6jatWXObzk9jZw1KhwWBLxv1kgqdXgPT0u7v3Dw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1601366212; 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=yzSk0mih3ZnhDaBPWS7n7R6JzM1rIKi0erUcYb+Vuuw=; b=sPYC9AtYVJOkI/0f8lmCoUPB1/klbMYk/daoidjQG/xHiNcB4lK411phOy3mYWrgKwrISj AwrG+JQTj6ELZuCQ== 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 uclamp_bucket_base_value() Cc: YueHaibing , "Peter Zijlstra (Intel)" , Dietmar Eggemann , x86 , LKML In-Reply-To: <20200922132410.48440-1-yuehaibing@huawei.com> References: <20200922132410.48440-1-yuehaibing@huawei.com> MIME-Version: 1.0 Message-ID: <160136621160.7002.405479490400563598.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: 51bd5121c4eb25b911f6bc1ab4de5fe865fe0dcb Gitweb: https://git.kernel.org/tip/51bd5121c4eb25b911f6bc1ab4de5fe865fe0dcb Author: YueHaibing AuthorDate: Tue, 22 Sep 2020 21:24:10 +08:00 Committer: Peter Zijlstra CommitterDate: Fri, 25 Sep 2020 14:23:25 +02:00 sched: Remove unused inline function uclamp_bucket_base_value() There is no caller in tree, so can remove it. Signed-off-by: YueHaibing Signed-off-by: Peter Zijlstra (Intel) Reviewed-by: Dietmar Eggemann Link: https://lkml.kernel.org/r/20200922132410.48440-1-yuehaibing@huawei.com --- kernel/sched/core.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index c36dc1a..dd32d85 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)