perf: Remove useless atomic_t
authorPeter Zijlstra <peterz@infradead.org>
Thu, 17 Oct 2013 13:36:19 +0000 (15:36 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 29 Oct 2013 11:02:49 +0000 (12:02 +0100)
commitd9494cb4299da66541a3f3ab82c552889bee0606
tree5ffbb922c8eab879a582abd2b17335bde359634c
parentaac898548d04c7bff179b79f805874b0d6f87571
perf: Remove useless atomic_t

There's nothing atomic about atomic_set vs atomic_read; so remove the
atomic_t usage.

Also, make running_sample_length static as it really is (and should
be) local to this translation unit.

Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: eranian@google.com
Cc: Don Zickus <dzickus@redhat.com>
Cc: jmario@redhat.com
Cc: acme@infradead.org
Cc: dave.hansen@linux.intel.com
Link: http://lkml.kernel.org/n/tip-vw9lg588x1ic248whybjon0c@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/events/core.c