x86: perf_counter remove unwanted hw_perf_enable_all
authorJaswinder Singh Rajput <jaswinder@infradead.org>
Sat, 27 Dec 2008 13:45:43 +0000 (19:15 +0530)
committerIngo Molnar <mingo@elte.hu>
Sat, 27 Dec 2008 15:00:51 +0000 (16:00 +0100)
commit2b583d8bc8d7105b58d7481a4a0ceb718dac49c6
tree1bdae30cbcb2c51b168b96ee26809de07f226484
parent01ea1ccaa24dea3552e103be13b7897211607a8b
x86: perf_counter remove unwanted hw_perf_enable_all

Impact: clean, reduce kernel size a bit, avoid sparse warnings

Fixes sparse warnings:

 arch/x86/kernel/cpu/perf_counter.c:153:6: warning: symbol 'hw_perf_enable_all' was not declared. Should it be static?
 arch/x86/kernel/cpu/perf_counter.c:279:3: warning: returning void-valued expression
 arch/x86/kernel/cpu/perf_counter.c:206:3: warning: returning void-valued expression
 arch/x86/kernel/cpu/perf_counter.c:206:3: warning: returning void-valued expression

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_counter.c