From: Ingo Molnar Date: Thu, 23 Oct 2008 14:11:03 +0000 (+0200) Subject: ftrace: fix build failure X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=66b0de3569b00f61978782b9f97aa4803dbec0fb;p=openwrt%2Fstaging%2Fblogic.git ftrace: fix build failure 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 --- diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index 07762c08a944..27212321eb0d 100644 --- a/kernel/trace/ftrace.c +++ b/kernel/trace/ftrace.c @@ -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)