diff options
author | Richard Weinberger <richard@nod.at> | 2011-05-12 09:11:11 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-05-23 01:42:15 -0400 |
commit | d39e17c7f8f8fb4012618d25ddc4436407b174a6 (patch) | |
tree | e2ffb835b63ab744e84090ff91f244c1add8dc6f /arch/sh/oprofile/backtrace.c | |
parent | c7434dbf29b4803d1caa0d1267fb6a455494d0d7 (diff) |
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/oprofile/backtrace.c')
-rw-r--r-- | arch/sh/oprofile/backtrace.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/sh/oprofile/backtrace.c b/arch/sh/oprofile/backtrace.c index 37f3a75ea6cb..9c88dcd56e86 100644 --- a/arch/sh/oprofile/backtrace.c +++ b/arch/sh/oprofile/backtrace.c | |||
@@ -23,17 +23,6 @@ | |||
23 | #include <asm/sections.h> | 23 | #include <asm/sections.h> |
24 | #include <asm/stacktrace.h> | 24 | #include <asm/stacktrace.h> |
25 | 25 | ||
26 | static void backtrace_warning_symbol(void *data, char *msg, | ||
27 | unsigned long symbol) | ||
28 | { | ||
29 | /* Ignore warnings */ | ||
30 | } | ||
31 | |||
32 | static void backtrace_warning(void *data, char *msg) | ||
33 | { | ||
34 | /* Ignore warnings */ | ||
35 | } | ||
36 | |||
37 | static int backtrace_stack(void *data, char *name) | 26 | static int backtrace_stack(void *data, char *name) |
38 | { | 27 | { |
39 | /* Yes, we want all stacks */ | 28 | /* Yes, we want all stacks */ |
@@ -49,8 +38,6 @@ static void backtrace_address(void *data, unsigned long addr, int reliable) | |||
49 | } | 38 | } |
50 | 39 | ||
51 | static struct stacktrace_ops backtrace_ops = { | 40 | static struct stacktrace_ops backtrace_ops = { |
52 | .warning = backtrace_warning, | ||
53 | .warning_symbol = backtrace_warning_symbol, | ||
54 | .stack = backtrace_stack, | 41 | .stack = backtrace_stack, |
55 | .address = backtrace_address, | 42 | .address = backtrace_address, |
56 | }; | 43 | }; |