summaryrefslogtreecommitdiff
path: root/arch
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 /arch
parentddacd0bc70fe724eba2b5967dd5b68e10d41486c (diff)
downloadlinux-3.10-d96478d5a2dcfa3aba1ca4d71b07fef62b27d9c8.tar.gz
linux-3.10-d96478d5a2dcfa3aba1ca4d71b07fef62b27d9c8.tar.bz2
linux-3.10-d96478d5a2dcfa3aba1ca4d71b07fef62b27d9c8.zip
sparc64: Kill unnecessary static on local var in ftrace_call_replace().
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
-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 9103a56b39e..2ea6e4ff7fd 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);