codafs: fix compile warning when CONFIG_SYSCTL=n
authorRakib Mullick <rakib.mullick@gmail.com>
Tue, 22 Mar 2011 23:35:00 +0000 (16:35 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 23 Mar 2011 00:44:16 +0000 (17:44 -0700)
commit0bc825d240abcaf5ed6e9d59b44215b51718ef5b
tree823301d79af115aa1e055c636c61de174f413835
parent1c00f0161f5e5bf1a441ea834c923f4102456489
codafs: fix compile warning when CONFIG_SYSCTL=n

When CONFIG_SYSCTL=n, we get the following warning:

fs/coda/sysctl.c:18: warning: `coda_tabl' defined but not used

Fix the warning by making sure coda_table and it's callee function are in
the same context.  Also clean up the code by removing extra #ifdef.

[akpm@linux-foundation.org: remove unneeded stub macros]
Signed-off-by: Rakib Mullick <rakib.mullick@gmail.com>
Cc: Jan Harkes <jaharkes@cs.cmu.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/coda/sysctl.c