diff options
| author | Giedrius Rekasius <[email protected]> | 2014-05-25 14:23:31 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2014-06-05 09:52:34 +0000 |
| commit | 0b07939cbfdd05bed0c5ec01b8b25493e6ecd34c (patch) | |
| tree | 734d42ef3ee50815f0506fb6fb3baea1f22443c5 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | sched: Rename capacity related flags (diff) | |
| download | kernel-0b07939cbfdd05bed0c5ec01b8b25493e6ecd34c.tar.gz kernel-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 <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: [email protected]
Cc: Linus Torvalds <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
