VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   57 Tags
author: Fabian Frederick <fabf@skynet.be> 2019-07-16 16:29:03 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2019-07-16 19:23:23 -0700 commit: 6975259ae30e05068e87ab35dfc4caefb47cffe2 parent: f94845284abedf80b8d9ab37eafe0d8f737543e8
Commit Summary:
coda: remove sysctl object from module when unused
Diffstat:
1 file changed, 0 insertions, 9 deletions
diff --git a/fs/coda/sysctl.c b/fs/coda/sysctl.c
index 0301d45000a8..fda3b702b1c5 100644
--- a/fs/coda/sysctl.c
+++ b/fs/coda/sysctl.c
@@ -12,7 +12,6 @@
 
 #include "coda_int.h"
 
-#ifdef CONFIG_SYSCTL
 static struct ctl_table_header *fs_table_header;
 
 static struct ctl_table coda_table[] = {
@@ -62,13 +61,3 @@ void coda_sysctl_clean(void)
 		fs_table_header = NULL;
 	}
 }
-
-#else
-void coda_sysctl_init(void)
-{
-}
-
-void coda_sysctl_clean(void)
-{
-}
-#endif