Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp307499ybg; Wed, 3 Jun 2020 01:05:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyawCh/LtOlrvn2I/p02wfD64iFa9FOHaA5lubJ1ohIGTJLCAyUhMZu30nZk5FDuBMaG5lw X-Received: by 2002:a17:906:af4d:: with SMTP id ly13mr12767431ejb.250.1591171545193; Wed, 03 Jun 2020 01:05:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591171545; cv=none; d=google.com; s=arc-20160816; b=qUmfnP8oTXW8ABvON5WcTDw64V3idWiLAFukhCAjbzNJSi3/n1wR41GAgDUL254iAZ erCKlUE7C7pJq86pITcbOyZUYthP6GVdTATzprDXd2ac88ldTvPwL2ArS6wz9duy57RU EBPD3QvA68f3MHSOsEklzXAshsvn29nZAkLnsiAGDUp4Unl44AUzIh1acmvo4l6SFUlg Zugr6VF1/Z0sWymah3puQkoxwa2+BqXGANxoEvQfgUxgnmxHr2Hsj7YeeVsNVhA3mo7F 3RcmtwOIqyOJiVGPdq9C2xgH3CR8vA+RwokxqZ1UOkSq/qEyi8/kFFuztmjKDdzRc+Uk CPqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=efA6yDmcHDrBJosYP+sdKYh5L/arajKGf8ghTQYO7oE=; b=m9p56A+fkaZd4mTgLLcR5vGkBhTp/Pc/YbKcT6xVZv6ywPMRgvuDSE8oUS2mv8gRUO zeFuRLd3iQI4ON9WVXyMom3xNkApTV6d4gEIfc6gXwCm83w/4jI1h8j1p4K57B5f2LsT sep7bidwFC1qGkUb6C4LeUVDE5Wp+aqLT2v0oUfmirmEyb32Ft/xUzZYM3LOnTvifj9K o7e8dPDedHqPD6FeYU/BgISl2Dqk9BOCibz3HSzWigzpLWYyLk8OZkCBB0YBMurvo7qB 1slsCtL9eQsIafUB9yDmsfQnyJJgRrOmLNhDnsIfWsGxPKrBTpd6Xuo6BE0p6GI0Ou7F ClXg== 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 u21si699654edx.269.2020.06.03.01.05.21; Wed, 03 Jun 2020 01:05:45 -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 S1726080AbgFCIDV (ORCPT + 99 others); Wed, 3 Jun 2020 04:03:21 -0400 Received: from foss.arm.com ([217.140.110.172]:58214 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725275AbgFCIDV (ORCPT ); Wed, 3 Jun 2020 04:03:21 -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 6A36E31B; Wed, 3 Jun 2020 01:03:20 -0700 (PDT) Received: from macbook.arm.com (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 1D0973F52E; Wed, 3 Jun 2020 01:03:18 -0700 (PDT) From: Dietmar Eggemann To: Ingo Molnar , Peter Zijlstra Cc: Vincent Guittot , Steven Rostedt , Juri Lelli , linux-kernel@vger.kernel.org Subject: [PATCH 0/4] sched: Remove some redundancy Date: Wed, 3 Jun 2020 10:03:00 +0200 Message-Id: <20200603080304.16548-1-dietmar.eggemann@arm.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove redundant functions, parameters and macros from the task scheduler code. Dietmar Eggemann (4): sched/pelt: Remove redundant cap_scale() definition sched/core: Remove redundant 'preempt' param from sched_class->yield_to_task() sched/idle,stop: Remove .get_rr_interval from sched_class sched/fair: Remove unused 'sd' parameter from scale_rt_capacity() kernel/sched/core.c | 2 +- kernel/sched/fair.c | 6 +++--- kernel/sched/idle.c | 7 ------- kernel/sched/pelt.c | 2 -- kernel/sched/sched.h | 2 +- kernel/sched/stop_task.c | 8 -------- 6 files changed, 5 insertions(+), 22 deletions(-) -- 2.17.1