summaryrefslogtreecommitdiffstats
path: root/arch/sh/oprofile
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2011-05-12 15:11:11 +0200
committerPaul Mundt <lethal@linux-sh.org>2011-05-23 07:42:15 +0200
commitd39e17c7f8f8fb4012618d25ddc4436407b174a6 (patch)
treee2ffb835b63ab744e84090ff91f244c1add8dc6f /arch/sh/oprofile
parentsh: wire up sys_sendmmsg. (diff)
downloadlinux-d39e17c7f8f8fb4012618d25ddc4436407b174a6.tar.xz
linux-d39e17c7f8f8fb4012618d25ddc4436407b174a6.zip
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')
-rw-r--r--arch/sh/oprofile/backtrace.c13
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 @@
#include <asm/sections.h>
#include <asm/stacktrace.h>
-static void backtrace_warning_symbol(void *data, char *msg,
- unsigned long symbol)
-{
- /* Ignore warnings */
-}
-
-static void backtrace_warning(void *data, char *msg)
-{
- /* Ignore warnings */
-}
-
static int backtrace_stack(void *data, char *name)
{
/* Yes, we want all stacks */
@@ -49,8 +38,6 @@ static void backtrace_address(void *data, unsigned long addr, int reliable)
}
static struct stacktrace_ops backtrace_ops = {
- .warning = backtrace_warning,
- .warning_symbol = backtrace_warning_symbol,
.stack = backtrace_stack,
.address = backtrace_address,
};