summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-04-06 17:32:08 -0700
committerDavid S. Miller <davem@davemloft.net>2010-04-12 22:36:10 -0700
commitd96478d5a2dcfa3aba1ca4d71b07fef62b27d9c8 (patch)
tree97f4a09d2819a46784ea79e8999a03764429b4a3
parentddacd0bc70fe724eba2b5967dd5b68e10d41486c (diff)
downloadlinux-d96478d5a2dcfa3aba1ca4d71b07fef62b27d9c8.tar.gz
linux-d96478d5a2dcfa3aba1ca4d71b07fef62b27d9c8.tar.bz2
linux-d96478d5a2dcfa3aba1ca4d71b07fef62b27d9c8.zip
sparc64: Kill unnecessary static on local var in ftrace_call_replace().
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--arch/sparc/kernel/ftrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/ftrace.c b/arch/sparc/kernel/ftrace.c
index 9103a56b39e8..2ea6e4ff7fd2 100644
--- a/arch/sparc/kernel/ftrace.c
+++ b/arch/sparc/kernel/ftrace.c
@@ -13,7 +13,7 @@ static const u32 ftrace_nop = 0x01000000;
static u32 ftrace_call_replace(unsigned long ip, unsigned long addr)
{
- static u32 call;
+ u32 call;
s32 off;
off = ((s32)addr - (s32)ip);