2.6.10-rc1-mm1: ipc/mqueue.c: remove unused label
From: Adrian Bunk
Date: Wed Oct 27 2004 - 06:25:58 EST
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, Oct 26, 2004 at 09:31:56PM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.9-mm1:
>...
> +handle-posix-message-queues-with-proc-sys-disabled.patch
>
> POSIX message queue fix.
This removes the only usage of a label, resulting in the following
compile warning:
<-- snip -->
...
CC ipc/mqueue.o
ipc/mqueue.c: In function `init_mqueue_fs':
ipc/mqueue.c:1245: warning: label `out_cache' defined but not used
...
<-- snip -->
The patch below removes this label.
Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>
- --- linux-2.6.10-rc1-mm1-full/ipc/mqueue.c.old 2004-10-27 13:13:48.000000000 +0200
+++ linux-2.6.10-rc1-mm1-full/ipc/mqueue.c 2004-10-27 13:13:57.000000000 +0200
@@ -1242,7 +1242,6 @@
out_sysctl:
if (mq_sysctl_table)
unregister_sysctl_table(mq_sysctl_table);
- -out_cache:
if (kmem_cache_destroy(mqueue_inode_cachep)) {
printk(KERN_INFO
"mqueue_inode_cache: not all structures were freed\n");
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFBf4RGmfzqmE8StAARAvFLAKDA3nCvvYHMHpvhrOXmvlvvVUh6YwCfeTl6
e+Amr4lm762PEGZnAky/pf8=
=vNvV
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/