ftrace: fix build failure
authorIngo Molnar <mingo@elte.hu>
Thu, 23 Oct 2008 14:11:03 +0000 (16:11 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 23 Oct 2008 14:11:03 +0000 (16:11 +0200)
fix:

 kernel/trace/ftrace.c: In function 'ftrace_release':
 kernel/trace/ftrace.c:271: error: implicit declaration of function 'ftrace_release_hash'

release_hash is not needed without dftraced.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/ftrace.c

index 07762c08a94450ca293776d2758655d1e10b47fb..27212321eb0dfd5a6ca641be938f3874c6d04baf 100644 (file)
@@ -267,8 +267,6 @@ void ftrace_release(void *start, unsigned long size)
                }
        }
        spin_unlock(&ftrace_lock);
-
-       ftrace_release_hash(s, e);
 }
 
 static struct dyn_ftrace *ftrace_alloc_dyn_node(unsigned long ip)