Re: [PATCH] net: atm: Fix warnings in net/atm/lec.c when !CONFIG_PROC_FS

From: David Miller
Date: Wed Dec 28 2016 - 15:12:00 EST


From: Augusto Mecking Caringi <augustocaringi@xxxxxxxxx>
Date: Wed, 28 Dec 2016 16:02:05 +0000

> This patch fixes the following warnings when CONFIG_PROC_FS is not set:
>
> linux/net/atm/lec.c: In function ʽlane_module_cleanupʼ:
> linux/net/atm/lec.c:1062:27: error: ʽatm_proc_rootʼ undeclared (first
> use in this function)
> remove_proc_entry("lec", atm_proc_root);
> ^
> linux/net/atm/lec.c:1062:27: note: each undeclared identifier is
> reported only once for each function it appears in
>
> Signed-off-by: Augusto Mecking Caringi <augustocaringi@xxxxxxxxx>

Applied, thank you.