From: Kees Cook Date: Thu, 1 May 2014 21:15:02 +0000 (-0700) Subject: lockd: avoid warning when CONFIG_SYSCTL undefined X-Git-Tag: omap-for-v3.16/fixes-against-rc1~67^2~101 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12dd7ecf2323c572b1d302707eada4900848dced;p=pandora-kernel.git lockd: avoid warning when CONFIG_SYSCTL undefined When building without CONFIG_SYSCTL, the compiler saw an unused label. This moves the label into the #ifdef it is used under. fs/lockd/svc.c: In function ‘init_nlm’: fs/lockd/svc.c:626:1: warning: label ‘err_sysctl’ defined but not used [-Wunused-label] Signed-off-by: Kees Cook Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed