]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - net/atm/lec.c
net: atm: Fix warnings in net/atm/lec.c when !CONFIG_PROC_FS
[mirror_ubuntu-zesty-kernel.git] / net / atm / lec.c
index 019557d0a11d2434ff7186da5504917717bf7d2b..09cfe87f0a44d64dbbdb9209d8eb358efa68f887 100644 (file)
@@ -1059,7 +1059,9 @@ static void __exit lane_module_cleanup(void)
 {
        int i;
 
+#ifdef CONFIG_PROC_FS
        remove_proc_entry("lec", atm_proc_root);
+#endif
 
        deregister_atm_ioctl(&lane_ioctl_ops);