Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp11904471ybi; Fri, 26 Jul 2019 01:32:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqzmQwEEiYE2p2F4Zdq0ZFC70sh5bHbIZ1BMAUHByaz8TCxqNnBFknHIkl8hXsp+Xs3OBi0z X-Received: by 2002:a17:90a:e38f:: with SMTP id b15mr98977715pjz.85.1564129969162; Fri, 26 Jul 2019 01:32:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564129969; cv=none; d=google.com; s=arc-20160816; b=PTJd1BHEbilvvGyPn4wLCyPIC4f+Ec3GX1I3ymtOfJwyongK1Qp4mTugrbhtBO4w/i 5rXEkAmQOaSTG0afvH09gA0d2uk0gxt9pZho2dQHoLCNLifAemGXr7nsFZvi4BUgn4x3 PFvLBWvCP21w2sdpuipSsAoO59+AB2q5BG6qLAwz2sbes1gj1sdUHEdKdGZNXbS/Um4R tuiV+rjtfk259wstkRM5QQQwENtz1mX+Z7gXqijUVsp/8kNbw0Nj2kZQd+qQo8+lqENi SH1tPx6CPkFWXQ0q0GMx50k6Ggui8hKd7lC4+g3loTkEKbYwfYE84GHoYy50X+nO0w5w VUcA== 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=z0r7XHMvfci1DXdSPFtjHdrrKnx9kJfFkSq9evwyBFc=; b=I4QF4Lm7cZsw7mdR7bTkcQa1nC8CCD6Rs/FKKrDUG1AAiBjYf/yXWl+p/uTDUlgCZU dOmn8PIN3PvPl/XawDe87iNl+mS02N4CJaZWa0nYRLjhbyi+bBZpGNWQWUgxSyvLqHWT uNW2P014D+ffl45JaLKOGJRrxifTRA1o6P7bRqo3RrtfLE6flh+3nBBr8tIz/anLXsRt S+JiKgECW4JR4icYkI8NWQSte6UhZWqf0X13of/sBeP5FMJkJd5IyDvntpYWG60aVsWX p5dxmQWzt1QwFtqJVUPdReehR70fu6eopisvXovWYq5DDapB/OyNas8kuB+hGHUgQC/J uWlA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l2si18938313pjw.0.2019.07.26.01.32.34; Fri, 26 Jul 2019 01:32:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726642AbfGZI3y (ORCPT + 99 others); Fri, 26 Jul 2019 04:29:54 -0400 Received: from foss.arm.com ([217.140.110.172]:39496 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726473AbfGZI3h (ORCPT ); Fri, 26 Jul 2019 04:29:37 -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 1AD1015A1; Fri, 26 Jul 2019 01:29:37 -0700 (PDT) Received: from e107985-lin.arm.com (e107985-lin.cambridge.arm.com [10.1.194.38]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id F0F283F71A; Fri, 26 Jul 2019 01:29:35 -0700 (PDT) From: Dietmar Eggemann To: Peter Zijlstra , Ingo Molnar , Juri Lelli Cc: Luca Abeni , Daniel Bristot de Oliveira , Valentin Schneider , Qais Yousef , linux-kernel@vger.kernel.org Subject: [PATCH 2/5] sched/deadline: Remove unused int flags from __dequeue_task_dl() Date: Fri, 26 Jul 2019 09:27:53 +0100 Message-Id: <20190726082756.5525-3-dietmar.eggemann@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190726082756.5525-1-dietmar.eggemann@arm.com> References: <20190726082756.5525-1-dietmar.eggemann@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The int flags parameter is not used in __dequeue_task_dl(). Remove it. Signed-off-by: Dietmar Eggemann --- kernel/sched/deadline.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c index d1aeada374e1..99d4c24a8637 100644 --- a/kernel/sched/deadline.c +++ b/kernel/sched/deadline.c @@ -637,7 +637,7 @@ static inline void deadline_queue_pull_task(struct rq *rq) #endif /* CONFIG_SMP */ static void enqueue_task_dl(struct rq *rq, struct task_struct *p, int flags); -static void __dequeue_task_dl(struct rq *rq, struct task_struct *p, int flags); +static void __dequeue_task_dl(struct rq *rq, struct task_struct *p); static void check_preempt_curr_dl(struct rq *rq, struct task_struct *p, int flags); /* @@ -1245,7 +1245,7 @@ static void update_curr_dl(struct rq *rq) (dl_se->flags & SCHED_FLAG_DL_OVERRUN)) dl_se->dl_overrun = 1; - __dequeue_task_dl(rq, curr, 0); + __dequeue_task_dl(rq, curr); if (unlikely(dl_se->dl_boosted || !start_dl_timer(curr))) enqueue_task_dl(rq, curr, ENQUEUE_REPLENISH); @@ -1535,7 +1535,7 @@ static void enqueue_task_dl(struct rq *rq, struct task_struct *p, int flags) enqueue_pushable_dl_task(rq, p); } -static void __dequeue_task_dl(struct rq *rq, struct task_struct *p, int flags) +static void __dequeue_task_dl(struct rq *rq, struct task_struct *p) { dequeue_dl_entity(&p->dl); dequeue_pushable_dl_task(rq, p); @@ -1544,7 +1544,7 @@ static void __dequeue_task_dl(struct rq *rq, struct task_struct *p, int flags) static void dequeue_task_dl(struct rq *rq, struct task_struct *p, int flags) { update_curr_dl(rq); - __dequeue_task_dl(rq, p, flags); + __dequeue_task_dl(rq, p); if (p->on_rq == TASK_ON_RQ_MIGRATING || flags & DEQUEUE_SAVE) { sub_running_bw(&p->dl, &rq->dl); -- 2.17.1