diff options
author | David S. Miller <davem@davemloft.net> | 2010-04-07 02:32:08 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-13 07:36:10 +0200 |
commit | d96478d5a2dcfa3aba1ca4d71b07fef62b27d9c8 (patch) | |
tree | 97f4a09d2819a46784ea79e8999a03764429b4a3 /arch/sparc/kernel/ftrace.c | |
parent | sparc64: Kill CONFIG_STACK_DEBUG code. (diff) | |
download | linux-d96478d5a2dcfa3aba1ca4d71b07fef62b27d9c8.tar.xz linux-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 '')
-rw-r--r-- | arch/sparc/kernel/ftrace.c | 2 |
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); |