Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3223d052 authored by Byungchul Park's avatar Byungchul Park Committed by Ingo Molnar
Browse files

sched/core: Remove dead statement in __schedule()



Remove an unnecessary assignment of variable not used any more.

( This has no runtime effects as GCC is smart enough to optimize
  this out. )

Signed-off-by: default avatarByungchul Park <byungchul.park@lge.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1455159578-17256-1-git-send-email-byungchul.park@lge.com


[ Edited the changelog. ]
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent 4142c3eb
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -3346,7 +3346,6 @@ static void __sched notrace __schedule(bool preempt)

		trace_sched_switch(preempt, prev, next);
		rq = context_switch(rq, prev, next); /* unlocks the rq */
		cpu = cpu_of(rq);
	} else {
		lockdep_unpin_lock(&rq->lock);
		raw_spin_unlock_irq(&rq->lock);