From: Peng Tao Date: Tue, 3 Dec 2013 14:42:04 +0000 (+0800) Subject: staging/lustre: fix defined not used warning X-Git-Tag: v3.14-rc1~150^2~655 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62494681cdee38e7d2d6e3b485a3c8dc2a5f9ba9;p=pandora-kernel.git staging/lustre: fix defined not used warning register_sysctl_table/unregister_sysctl_table are defined regardless of CONFIG_SYSCTL true or false. so we don't need to surround them with #ifdef CONFIG_SYSCTL. Besides, current code got build warnings when CONFIG_SYSCTL is not set: drivers/staging/lustre/lustre/libcfs/linux/linux-proc.c:368:20: warning: ‘lnet_table’ defined but not used [-Wunused-variable] Signed-off-by: Peng Tao Signed-off-by: Andreas Dilger Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed