x86, perf: P4 PMU -- Get rid of redundant check for array index
authorCyrill Gorcunov <gorcunov@openvz.org>
Sat, 8 May 2010 11:25:53 +0000 (15:25 +0400)
committerIngo Molnar <mingo@elte.hu>
Sat, 8 May 2010 12:17:53 +0000 (14:17 +0200)
commit3f51b7119d052827dbb0e40c966acdf2bdc6f47f
tree82a204b2f2cc5acec2e0dcae4ec780ed0c97f8b1
parent137351e0feeb9f25d99488ee1afc1c79f5499a9a
x86, perf: P4 PMU -- Get rid of redundant check for array index

The caller already has done such a check.
And it was wrong anyway, it had to be '>=' rather than '>'

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Lin Ming <ming.m.lin@intel.com>
LKML-Reference: <20100508112717.130386882@openvz.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_event_p4.c