From: Giedrius Rekasius Date: Sun, 25 May 2014 14:23:31 +0000 (+0100) Subject: sched: Remove redundant assignment to "rt_rq" in update_curr_rt(...) X-Git-Tag: omap-for-v3.16/fixes-against-rc1~33^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b07939cbfdd05bed0c5ec01b8b25493e6ecd34c;p=pandora-kernel.git sched: Remove redundant assignment to "rt_rq" in update_curr_rt(...) Variable "rt_rq" is used only in block "for_each_sched_rt_entity" so the value assigned to it at the beginning of the update_curr_rt(...) gets overwritten without ever being read. Remove redundant assignment and move variable declaration to the block in which it is being used. Signed-off-by: Giedrius Rekasius Signed-off-by: Peter Zijlstra Cc: kernel-janitors@vger.kernel.org Cc: Linus Torvalds Cc: linux-kernel@vger.kernel.org Link: http://lkml.kernel.org/r/1401027811-30066-1-git-send-email-giedrius.rekasius@gmail.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed