lkml.org 
[lkml]   [2004]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject2.6.10-rc1-mm1: ipc/mqueue.c: remove unused label
-----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@stusta.de>

- --- 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.126 / U:0.740 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site