5 Feb 13:35
Fwd: [PATCH] [PPPOL2TP] Label unused warning when CONFIG_PROC_FS is not set.
Rami Rosen <ramirose <at> gmail.com>
2008-02-05 12:35:29 GMT
2008-02-05 12:35:29 GMT
---------- Forwarded message ---------- From: Rami Rosen <ramirose <at> gmail.com> Date: Feb 5, 2008 2:15 PM Subject: [PATCH] [PPPOL2TP] Label unused warning when CONFIG_PROC_FS is not set. To: netdev <at> vger.kernel.org, jeff <at> garzik.org, linux-kernel <at> vger.kernel.org Hi, 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 patch fixes this warning by adding appropriate #ifdef. Regards, Rami Rosen Signed-off-by: Rami Rosen <ramirose <at> gmail.com>
diff --git a/drivers/net/pppol2tp.c b/drivers/net/pppol2tp.c index 1b51bb6..5aa0a80 100644 --- a/drivers/net/pppol2tp.c +++ b/drivers/net/pppol2tp.c @@ -2468,9 +2468,10 @@ static int __init pppol2tp_init(void) out: return err;(Continue reading)
RSS Feed