patch-2.4.1 linux/net/decnet/dn_fib.c
Next file: linux/net/decnet/dn_neigh.c
Previous file: linux/net/decnet/dn_dev.c
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Mon Jan 22 13:32:10 2001
- Orig file:
v2.4.0/linux/net/decnet/dn_fib.c
- Orig date:
Sat Jan 8 21:36:20 2000
diff -u --recursive --new-file v2.4.0/linux/net/decnet/dn_fib.c linux/net/decnet/dn_fib.c
@@ -55,7 +55,7 @@
#endif /* CONFIG_RTNETLINK */
-static struct dn_fib_info *dn_fib_info_list = NULL;
+static struct dn_fib_info *dn_fib_info_list;
static rwlock_t dn_fib_info_lock = RW_LOCK_UNLOCKED;
int dn_fib_info_cnt;
@@ -641,15 +641,11 @@
return 0;
}
-
#endif /* CONFIG_PROC_FS */
-
void __exit dn_fib_cleanup(void)
{
-#ifdef CONFIG_PROC_FS
proc_net_remove("decnet_route");
-#endif
dn_fib_table_cleanup();
dn_fib_rules_cleanup();
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)