Skip to contentSkip to conversation

coda: fix warning when CONFIG_SYSCTL is disabled

PATCH New Gustavo F. Padovan 1 participant 1 message Feb 9, 2010 Coda file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 coda: fix warning when CONFIG_SYSCTL is disabled

fs/coda/sysctl.c:18: warning: ‘coda_table’ defined but not used

---
 fs/coda/sysctl.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
fs/coda/sysctl.c +0 -2
index c6405ce..c4ccf15 100644
@@ -13,7 +13,6 @@
 
 #ifdef CONFIG_SYSCTL
 static struct ctl_table_header *fs_table_header;
-#endif
 
 static ctl_table coda_table[] = {
 	{
@@ -40,7 +39,6 @@ static ctl_table coda_table[] = {
 	{}
 };
 
-#ifdef CONFIG_SYSCTL
 static ctl_table fs_table[] = {
 	{
 		.procname	= "coda",
Signature · 1 line
1.6.4.4