From: Jesper Juhl Date: Sat, 25 Mar 2006 11:07:08 +0000 (-0800) Subject: [PATCH] fix 'defined but not used' warning in net/rxrpc/main.c::rxrpc_initialise X-Git-Tag: v2.6.17-rc1~826 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21e4f9526989009282fe26280560ff3fbc21c9e0;p=linux-2.6 [PATCH] fix 'defined but not used' warning in net/rxrpc/main.c::rxrpc_initialise net/rxrpc/main.c: In function `rxrpc_initialise': net/rxrpc/main.c:83: warning: label `error_proc' defined but not used Signed-off-by: Jesper Juhl Acked-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/net/rxrpc/main.c b/net/rxrpc/main.c index 36fdcbcd80..48cbd065bb 100644 --- a/net/rxrpc/main.c +++ b/net/rxrpc/main.c @@ -79,8 +79,8 @@ static int __init rxrpc_initialise(void) error_sysctl: #ifdef CONFIG_SYSCTL rxrpc_sysctl_cleanup(); -#endif error_proc: +#endif #ifdef CONFIG_PROC_FS rxrpc_proc_cleanup(); #endif