perf: Remove superfluous return values from perf_callchain_*()
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 20 Aug 2010 12:30:41 +0000 (14:30 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 20 Aug 2010 12:59:39 +0000 (14:59 +0200)
commited8052616680e72f58bca678d4d1678cb12a7e47
treee0898bc1bb3eafcd83006457829511f6eb0f3dc2
parent4c1c952e37c7511a52f617ceddbc10c855d45d7b
perf: Remove superfluous return values from perf_callchain_*()

Fixes these build warnings introduced by the callchain
rework:

 arch/x86/kernel/cpu/perf_event.c: In function ‘perf_callchain_kernel’:
 arch/x86/kernel/cpu/perf_event.c:1646: warning: ‘return’ with a value, in function returning void
 arch/x86/kernel/cpu/perf_event.c: In function ‘perf_callchain_user’:
 arch/x86/kernel/cpu/perf_event.c:1699: warning: ‘return’ with a value, in function returning void
 arch/x86/kernel/cpu/perf_event.c: At top level:
 arch/x86/kernel/cpu/perf_event.c:1607: warning: ‘perf_callchain_entry_nmi’ defined but not used

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_event.c