From: Rakib Mullick Date: Tue, 22 Mar 2011 23:35:00 +0000 (-0700) Subject: codafs: fix compile warning when CONFIG_SYSCTL=n X-Git-Tag: v2.6.39-rc1~215 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0bc825d240abcaf5ed6e9d59b44215b51718ef5b;p=pandora-kernel.git 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 Cc: Jan Harkes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed