Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp308772ybg; Wed, 3 Jun 2020 01:07:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyytGfY9SM6kgSqQ7U/gnRnqxXH0lY+iF+jhNZwZNf5z1x5SvlI+yFNbfoWgJq26bSlZ7OY X-Received: by 2002:a17:906:6546:: with SMTP id u6mr26214897ejn.543.1591171671643; Wed, 03 Jun 2020 01:07:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591171671; cv=none; d=google.com; s=arc-20160816; b=vYIbytT3A50cHrvMoHNRLVCdW6ZdQg7m1mw41GcxklVqd0Hk6uggr4EfG28H3stSbZ PgNHeG02cGQjd2iOHZvKCdEV6JB37w0mZQS0+qS/gu7tlcswuN3ub5ocxAq5j4VtBgWs U0OiUI57/p7Bqwi1D58GsimOtmrPfycoPwwwjo32vGqOKcMyGPFgGxC7uR31SDNKONRp 61OExzqYXLfCPnmvwu9FFzg76em0X2yyJ7O2b5fbtAarC6j1sKjhaVrAQxH0Vh5RYgTX IylJQRU7EVb/f1ThfwZfbpqvhfMZsjUgRHZ+RQNWiVOEOHy/TGF4Who8cV2RZHPeA56H /3eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=vC2LCJ0fxJlLkwf2ijNulwuRQauwXdfQhF48qMlqWGQ=; b=PZjNFkcGFY3oe4Hrm+Mt1v6e6WtsVdCImrPtCADGW9n5XAA6hgebwpa0orH11N5/l1 4SWc7ipu4MZJyjc6GZeyNY/jowVNjhOD1Low7Xk3aIZKZg2YWLfnzfOO9x+ZKCf00A3/ q6O34CsidyIZYkI8Vr90tBa0s9UJp41zGlRU+6mQQRRWZuh3u94VzArYtI9RhIXuE2Yh 87Q+quCSgAK9yYxIxiJIQpRt484AlVwjSt6xel3z5ypnNZm0/gtZ3ev44k2kNHlK7GeH ouSs/OEjRKCVWOnXVdklGomjluju0fjSXNKai125aZhkg3mqxRgc4gOZZj7rcSlFCuu6 62Cw== 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 cb1si748069ejb.42.2020.06.03.01.07.27; Wed, 03 Jun 2020 01:07:51 -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 S1726300AbgFCIDo (ORCPT + 99 others); Wed, 3 Jun 2020 04:03:44 -0400 Received: from foss.arm.com ([217.140.110.172]:58256 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725866AbgFCID1 (ORCPT ); Wed, 3 Jun 2020 04:03:27 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id CDE9B113E; Wed, 3 Jun 2020 01:03:26 -0700 (PDT) Received: from macbook.arm.com (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 80C8C3F52E; Wed, 3 Jun 2020 01:03:25 -0700 (PDT) From: Dietmar Eggemann To: Ingo Molnar , Peter Zijlstra Cc: Vincent Guittot , Steven Rostedt , Juri Lelli , linux-kernel@vger.kernel.org Subject: [PATCH 4/4] sched/fair: Remove unused 'sd' parameter from scale_rt_capacity() Date: Wed, 3 Jun 2020 10:03:04 +0200 Message-Id: <20200603080304.16548-5-dietmar.eggemann@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200603080304.16548-1-dietmar.eggemann@arm.com> References: <20200603080304.16548-1-dietmar.eggemann@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since commit 8ec59c0f5f49 ("sched/topology: Remove unused 'sd' parameter from arch_scale_cpu_capacity()") it is no longer needed. Signed-off-by: Dietmar Eggemann --- kernel/sched/fair.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 5c4a559d0dae..7158d4e3c855 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -8039,7 +8039,7 @@ static inline void init_sd_lb_stats(struct sd_lb_stats *sds) }; } -static unsigned long scale_rt_capacity(struct sched_domain *sd, int cpu) +static unsigned long scale_rt_capacity(int cpu) { struct rq *rq = cpu_rq(cpu); unsigned long max = arch_scale_cpu_capacity(cpu); @@ -8071,7 +8071,7 @@ static unsigned long scale_rt_capacity(struct sched_domain *sd, int cpu) static void update_cpu_capacity(struct sched_domain *sd, int cpu) { - unsigned long capacity = scale_rt_capacity(sd, cpu); + unsigned long capacity = scale_rt_capacity(cpu); struct sched_group *sdg = sd->groups; cpu_rq(cpu)->cpu_capacity_orig = arch_scale_cpu_capacity(cpu); -- 2.17.1