mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] coda: fix warning when CONFIG_SYSCTL is disabled
@ 2010-02-09 12:12 Gustavo F. Padovan
  0 siblings, 0 replies; only message in thread
From: Gustavo F. Padovan @ 2010-02-09 12:12 UTC (permalink / raw)
  To: linux-kernel; +Cc: jaharkes, coda, codalist

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

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
---
 fs/coda/sysctl.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/fs/coda/sysctl.c b/fs/coda/sysctl.c
index c6405ce..c4ccf15 100644
--- a/fs/coda/sysctl.c
+++ b/fs/coda/sysctl.c
@@ -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",
-- 
1.6.4.4


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-02-09 12:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-09 12:12 [PATCH] coda: fix warning when CONFIG_SYSCTL is disabled Gustavo F. Padovan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®