]> git.karo-electronics.de Git - linux-beck.git/commit
net: atm: Fix warnings in net/atm/lec.c when !CONFIG_PROC_FS
authorAugusto Mecking Caringi <augustocaringi@gmail.com>
Wed, 28 Dec 2016 16:02:05 +0000 (16:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Dec 2016 20:11:32 +0000 (15:11 -0500)
commit9dd0f896d2cc5815d859e945db90915071cd44b3
treec808cf3fdc102914d522ef0b99d1be5e2f4b79fa
parent4b52416a3f15df80af46d97d41f32ef5dde6e5fb
net: atm: Fix warnings in net/atm/lec.c when !CONFIG_PROC_FS

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@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/atm/lec.c