From: Rami Rosen Date: Wed, 6 Feb 2008 00:30:50 +0000 (-0800) Subject: [PPPOL2TP]: Label unused warning when CONFIG_PROC_FS is not set. X-Git-Tag: v2.6.25-rc1~518^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=731a0609df9cef35ae861d31004f50a02ebde6c2;p=pandora-kernel.git [PPPOL2TP]: Label unused warning when CONFIG_PROC_FS is not set. When CONFIG_PROC_FS is not set and CONFIG_PPPOL2TP is set, we have the following warning in build: drivers/net/pppol2tp.c: In function 'pppol2tp_init': drivers/net/pppol2tp.c:2472: warning: label 'out_unregister_pppox_proto' defined but not used This patches fixes this warning by adding appropriate #ifdef. Signed-off-by: Rami Rosen Acked-by: James Chapman Signed-off-by: David S. Miller --- Reading git-diff-tree failed