lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 22 Nov 2006 05:17:40 +0100
From:	Adrian Bunk <bunk@...sta.de>
To:	Andrew Morton <akpm@...l.org>, David Howells <dhowells@...hat.com>
Cc:	linux-kernel@...r.kernel.org
Subject: [-mm patch] fs/fscache/main.c: cleanups

This patch contains the following cleanups:
- remove the unused global variable fscache_debug
- make the needlessly global struct fscache_kset static

Signed-off-by: Adrian Bunk <bunk@...sta.de>

---

 fs/fscache/main.c |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

--- linux-2.6.19-rc5-mm2/fs/fscache/main.c.old	2006-11-22 03:08:53.000000000 +0100
+++ linux-2.6.19-rc5-mm2/fs/fscache/main.c	2006-11-22 03:09:23.000000000 +0100
@@ -16,8 +16,6 @@
 #include <linux/slab.h>
 #include "fscache-int.h"
 
-int fscache_debug;
-
 static int fscache_init(void);
 static void fscache_exit(void);
 
@@ -41,14 +39,12 @@ static struct kobj_type fscache_ktype = 
 	.default_attrs	= NULL,
 };
 
-struct kset fscache_kset = {
+static struct kset fscache_kset = {
 	.kobj.name	= "fscache",
 	.kobj.kset	= &fs_subsys.kset,
 	.ktype		= &fscache_ktype,
 };
 
-EXPORT_SYMBOL(fscache_kset);
-
 /*****************************************************************************/
 /*
  * initialise the fs caching module

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ