aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorMichael Wang <[email protected]>2012-09-19 13:42:23 +0800
committerIngo Molnar <[email protected]>2012-09-26 13:27:56 +0200
commitdec08a837fda146fee498ffc5ecd0d2eeeacd025 (patch)
tree2f97fc053268c1e08f6b43a77070873a0bc74ffb /tools/perf/util/scripting-engines/trace-event-python.c
parent6f0f9b6b3fcfe5e156f20d4f804f0d505c750b3c (diff)
x86: Remove the useless branch in c_start()
Since 'cpu == -1' in cpumask_next() is legal, no need to handle '*pos == 0' specially. About the comments: /* just in case, cpu 0 is not the first */ A test with a cpumask in which cpu 0 is not the first has been done, and it works well. This patch will remove that useless branch to clean the code. Signed-off-by: Michael Wang <[email protected]> Cc: [email protected] Cc: [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/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions