Messages in this thread Patch in this message | | | From | Jesper Juhl <> | Subject | [PATCH] fix 'defined but not used' warning in net/rxrpc/main.c::rxrpc_initialise | Date | Sat, 25 Feb 2006 19:31:50 +0100 |
| |
fix a '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
The only user of the label is inside #ifdef CONFIG_SYSCTL so move the label inside as well to silence the warning.
Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com> ---
net/rxrpc/main.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
--- linux-2.6.16-rc4-mm2-orig/net/rxrpc/main.c 2006-01-03 04:21:10.000000000 +0100 +++ linux-2.6.16-rc4-mm2/net/rxrpc/main.c 2006-02-25 19:23:39.000000000 +0100 @@ -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
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |