diff options
Diffstat (limited to 'fs/gfs2/sys.c')
-rw-r--r-- | fs/gfs2/sys.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/gfs2/sys.c b/fs/gfs2/sys.c index 298bcb6c2713..26c1fa777a95 100644 --- a/fs/gfs2/sys.c +++ b/fs/gfs2/sys.c | |||
@@ -26,9 +26,6 @@ | |||
26 | #include "quota.h" | 26 | #include "quota.h" |
27 | #include "util.h" | 27 | #include "util.h" |
28 | 28 | ||
29 | char *gfs2_sys_margs; | ||
30 | spinlock_t gfs2_sys_margs_lock; | ||
31 | |||
32 | static ssize_t id_show(struct gfs2_sbd *sdp, char *buf) | 29 | static ssize_t id_show(struct gfs2_sbd *sdp, char *buf) |
33 | { | 30 | { |
34 | return snprintf(buf, PAGE_SIZE, "%u:%u\n", | 31 | return snprintf(buf, PAGE_SIZE, "%u:%u\n", |
@@ -477,8 +474,6 @@ static struct kset_uevent_ops gfs2_uevent_ops = { | |||
477 | 474 | ||
478 | int gfs2_sys_init(void) | 475 | int gfs2_sys_init(void) |
479 | { | 476 | { |
480 | gfs2_sys_margs = NULL; | ||
481 | spin_lock_init(&gfs2_sys_margs_lock); | ||
482 | gfs2_kset = kset_create_and_add("gfs2", &gfs2_uevent_ops, fs_kobj); | 477 | gfs2_kset = kset_create_and_add("gfs2", &gfs2_uevent_ops, fs_kobj); |
483 | if (!gfs2_kset) | 478 | if (!gfs2_kset) |
484 | return -ENOMEM; | 479 | return -ENOMEM; |
@@ -487,7 +482,6 @@ int gfs2_sys_init(void) | |||
487 | 482 | ||
488 | void gfs2_sys_uninit(void) | 483 | void gfs2_sys_uninit(void) |
489 | { | 484 | { |
490 | kfree(gfs2_sys_margs); | ||
491 | kset_unregister(gfs2_kset); | 485 | kset_unregister(gfs2_kset); |
492 | } | 486 | } |
493 | 487 | ||