summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorGiedrius Rekasius <giedrius.rekasius@gmail.com>2014-05-25 15:23:31 +0100
committerIngo Molnar <mingo@kernel.org>2014-06-05 11:52:34 +0200
commit0b07939cbfdd05bed0c5ec01b8b25493e6ecd34c (patch)
tree734d42ef3ee50815f0506fb6fb3baea1f22443c5 /block
parent5d4dfddd4f02b028d6ddaaa04d75d3b0cad1c9ae (diff)
downloadblackbird-obmc-linux-0b07939cbfdd05bed0c5ec01b8b25493e6ecd34c.tar.gz
blackbird-obmc-linux-0b07939cbfdd05bed0c5ec01b8b25493e6ecd34c.zip
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 <giedrius.rekasius@gmail.com> Signed-off-by: Peter Zijlstra <peterz@infradead.org> Cc: kernel-janitors@vger.kernel.org Cc: Linus Torvalds <torvalds@linux-foundation.org> 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 <mingo@kernel.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud