aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBob Liu <[email protected]>2010-05-24 14:31:59 -0700
committerLinus Torvalds <[email protected]>2010-05-25 08:06:57 -0700
commit6d556294d5b27fb12f18be7495af45b6156a409e (patch)
treecb8549b4a4dc53399abc596dcac4630b0d936abf /tools/perf/scripts/python
parente13861d822f8f443ca0c020ea8fc2dc01039cd63 (diff)
mempolicy: remove redundant code
1. In funtion is_valid_nodemask(), varibable k will be inited to 0 in the following loop, needn't init to policy_zone anymore. 2. (MPOL_F_STATIC_NODES | MPOL_F_RELATIVE_NODES) has already defined to MPOL_MODE_FLAGS in mempolicy.h. Signed-off-by: Bob Liu <[email protected]> Acked-by: David Rientjes <[email protected]> Cc: KOSAKI Motohiro <[email protected]> Cc: Christoph Lameter <[email protected]> Cc: Mel Gorman <[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