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 <[email protected]>
---
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]