]> err.no Git - linux-2.6/commitdiff
[PATCH] fix 'defined but not used' warning in net/rxrpc/main.c::rxrpc_initialise
authorJesper Juhl <jesper.juhl@gmail.com>
Sat, 25 Mar 2006 11:07:08 +0000 (03:07 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 25 Mar 2006 16:22:52 +0000 (08:22 -0800)
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 <jesper.juhl@gmail.com>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
net/rxrpc/main.c

index 36fdcbcd80d1fe0e9bf62c13a9ecf68cc0299b4a..48cbd065bb45ab8ba5d676f802ebbcdf2ecc0d28 100644 (file)
@@ -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