Patchwork [3/7] sparc64: Kill unnecessary static on local var in ftrace_call_replace().

login
register
mail settings
Submitter David Miller
Date April 13, 2010, 6:42 a.m.
Message ID <20100412.234242.117720616.davem@davemloft.net>
Download mbox | patch
Permalink /patch/50027/
State Accepted
Delegated to: David Miller
Headers show

Comments

David Miller - April 13, 2010, 6:42 a.m.
Signed-off-by: David S. Miller <davem@davemloft.net>
---
 arch/sparc/kernel/ftrace.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/arch/sparc/kernel/ftrace.c b/arch/sparc/kernel/ftrace.c
index 9103a56..2ea6e4f 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);