aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLee Schermerhorn <[email protected]>2010-05-24 14:32:03 -0700
committerLinus Torvalds <[email protected]>2010-05-25 08:06:57 -0700
commitb4652e8429100ba5c3ddb49499faa1188c98c246 (patch)
tree55fa4fcdb8e8cf067b1474cc7068163e152f3075 /tools/perf/scripts/python
parente17f74af351cce9a1bade7b33af179497fdf95cf (diff)
mempolicy: lose unnecessary loop variable in mpol_parse_str()
We don't really need the extra variable 'i' in mpol_parse_str(). The only use is as the the loop variable. Then, it's assigned to 'mode'. Just use mode, and loose the 'uninitialized_var()' macro. Signed-off-by: Lee Schermerhorn <[email protected]> Cc: Hugh Dickins <[email protected]> Cc: Ravikiran Thirumalai <[email protected]> Cc: KOSAKI Motohiro <[email protected]> Cc: Christoph Lameter <[email protected]> Cc: David Rientjes <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions