diff options
author | Richard Weinberger <richard@nod.at> | 2011-05-12 17:11:11 +0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-05-23 09:42:15 +0400 |
commit | d39e17c7f8f8fb4012618d25ddc4436407b174a6 (patch) | |
tree | e2ffb835b63ab744e84090ff91f244c1add8dc6f /arch/sh/kernel/perf_callchain.c | |
parent | c7434dbf29b4803d1caa0d1267fb6a455494d0d7 (diff) | |
download | linux-d39e17c7f8f8fb4012618d25ddc4436407b174a6.tar.xz |
sh: remove warning and warning_symbol from struct stacktrace_ops
Both warning and warning_symbol are nowhere used.
Let's get rid of them.
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/perf_callchain.c')
-rw-r--r-- | arch/sh/kernel/perf_callchain.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/sh/kernel/perf_callchain.c b/arch/sh/kernel/perf_callchain.c index d5ca1ef50fa9..cc80b614b5fa 100644 --- a/arch/sh/kernel/perf_callchain.c +++ b/arch/sh/kernel/perf_callchain.c @@ -14,16 +14,6 @@ #include <asm/unwinder.h> #include <asm/ptrace.h> - -static void callchain_warning(void *data, char *msg) -{ -} - -static void -callchain_warning_symbol(void *data, char *msg, unsigned long symbol) -{ -} - static int callchain_stack(void *data, char *name) { return 0; @@ -38,8 +28,6 @@ static void callchain_address(void *data, unsigned long addr, int reliable) } static const struct stacktrace_ops callchain_ops = { - .warning = callchain_warning, - .warning_symbol = callchain_warning_symbol, .stack = callchain_stack, .address = callchain_address, }; |