Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1510942

[GIT PULL] scheduler fix

Path csiph.com!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Ingo Molnar <mingo@kernel.org>
Newsgroups linux.kernel
Subject [GIT PULL] scheduler fix
Date Fri, 28 Oct 2016 10:40:01 +0200
Message-ID <sxaRH-5SO-9@gated-at.bofh.it> (permalink)
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=ulF6e/7UttQgTrBH/0b8KDKKugwH0GCYYEcO3p+NQoY=; b=ue48rBYQh8WN9o6XP+qOin+6kcnD4WQRgTgpaHrtvbFlqeRJmhMDYC364KwpS3zYri kSGT1atDl1CtyJvKK+oTwM5qeG2N856W12HlH8TcaE2+89KCQr5iU5PxikqMLpZBvvY5 tW8sNcT00FA/7SQ+BKTVko3wsL8pcsBKLZjSJ44wzo6RDdowzh3uiVOQGBQc0WjBiCdE wOKwkJAAhu352FAl95rvaVeymvOULj3nWxVca1VArkiFCDMAeUh0gNmaopUEW/fICp3x QNgBSiDFcYGiSK1ctxlTqD6NDx64zyptsoCTWVgc3ivT+oFQ3ke03t6HN/2aTnyNcApB PZaQ==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :mime-version:content-disposition:user-agent; bh=ulF6e/7UttQgTrBH/0b8KDKKugwH0GCYYEcO3p+NQoY=; b=BkLiPmPkCk+sjXqrV9wbo/9SnPqHgEZH3BoHYF+knbDbT2HnFSR+pmyz/NWRI5PPIB g0gyhpktZjzlxI/577U0u9u7iIwgvB800+hIIgfHnT5lEhKWJ7B8mAsP8l4FwB081e8V zx5DYYmAffMY1u5+5EmCJLMR2URmwO+XihVwoorPYYjc2Q4OIvSI5D7DhX5Lq+7H2HPF 9AS/QxG7UqoKVLL0iqms3yibSVg0CWiNavxeSmNzQj+p2UCYq9cjng5AuWuSoqGky78j Ct2PrDdXw+e+l3Cb2eYaIEI1m4nBvzMznffBzmvYskFdGVJwF5SanLyA+gnIJoaXkQUP UqVQ==
X-Gm-Message-State ABUngvfGXZPrU6O81qq6n5nTZmMZx0scGYsxyrzt+yPNgp18fyRmWeegMxnkg8oJTddpsg==
X-Received by 10.194.21.225 with SMTP id y1mr5722977wje.36.1477643703586; Fri, 28 Oct 2016 01:35:03 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.24 (2015-08-30)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 43
Organization linux.* mail to news gateway
X-Original-Cc linux-kernel@vger.kernel.org, Peter Zijlstra <a.p.zijlstra@chello.nl>, Thomas Gleixner <tglx@linutronix.de>, Andrew Morton <akpm@linux-foundation.org>
X-Original-Date Fri, 28 Oct 2016 10:35:01 +0200
X-Original-Message-ID <20161028083501.GA17805@gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1510942

Show key headers only | View raw


Linus,

Please pull the latest sched-urgent-for-linus git tree from:

   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-urgent-for-linus

   # HEAD: f5d6d2da0d9098a4aa0ebcc187aa0fc167045d6b sched/fair: Remove unused but set variable 'rq'

An unused variable warning fix.

 Thanks,

	Ingo

------------------>
Tobias Klauser (1):
      sched/fair: Remove unused but set variable 'rq'


 kernel/sched/fair.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index d941c97dfbc3..c242944f5cbd 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -8839,7 +8839,6 @@ int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent)
 {
 	struct sched_entity *se;
 	struct cfs_rq *cfs_rq;
-	struct rq *rq;
 	int i;
 
 	tg->cfs_rq = kzalloc(sizeof(cfs_rq) * nr_cpu_ids, GFP_KERNEL);
@@ -8854,8 +8853,6 @@ int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent)
 	init_cfs_bandwidth(tg_cfs_bandwidth(tg));
 
 	for_each_possible_cpu(i) {
-		rq = cpu_rq(i);
-
 		cfs_rq = kzalloc_node(sizeof(struct cfs_rq),
 				      GFP_KERNEL, cpu_to_node(i));
 		if (!cfs_rq)

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[GIT PULL] scheduler fix Ingo Molnar <mingo@kernel.org> - 2016-10-28 10:40 +0200

csiph-web