Re: [PATCH] net: atm: Fix build error when !CONFIG_PROC_FS

2017-01-19 Thread David Miller
From: Augusto Mecking Caringi Date: Thu, 19 Jan 2017 11:00:12 + > When CONFIG_ATM_CLIP is set and CONFIG_PROC_FS is not set, the building > was failing whith the error: > > net/atm/clip.c: In function ‘atm_clip_exit’: > net/atm/clip.c:933:27: error: ‘atm_proc_root’

[PATCH] net: atm: Fix build error when !CONFIG_PROC_FS

2017-01-19 Thread Augusto Mecking Caringi
When CONFIG_ATM_CLIP is set and CONFIG_PROC_FS is not set, the building was failing whith the error: net/atm/clip.c: In function ‘atm_clip_exit’: net/atm/clip.c:933:27: error: ‘atm_proc_root’ undeclared (first use in this function) remove_proc_entry("arp", atm_proc_root);