Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.4.1 /net/decnet/dn_fib.c

Filename:/net/decnet/dn_fib.c
Lines Added:1
Lines Deleted:5
Also changed in: (Previous) 2.4.1-pre12  2.4.1-pre11  2.4.1-pre10  2.4.0-ac12  2.4.0-ac11  2.4.0-ac10 
(Following) 2.4.17-pre3  2.4.17-pre4  2.4.17-pre5  2.4.17-pre6  2.4.17-pre7  2.4.17-pre8 

Location
[  2.4.1
  [  net
    [  decnet
       o  dn_fib.c

Patch

diff -u --recursive --new-file v2.4.0/linux/net/decnet/dn_fib.c linux/net/decnet/dn_fib.c
--- v2.4.0/linux/net/decnet/dn_fib.c   Sat Jan  8 21:36:20 2000
+++ linux/net/decnet/dn_fib.c   Mon Jan 22 13:32:10 2001
@@ -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();


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.