patch-2.1.32 linux/net/x25/af_x25.c
Next file: linux/CREDITS
Previous file: linux/net/x25/Makefile
Back to the patch index
Back to the overall index
-  Lines: 21
-  Date:
Sat Apr  5 12:14:21 1997
-  Orig file: 
v2.1.31/linux/net/x25/af_x25.c
-  Orig date: 
Thu Mar 27 14:40:18 1997
diff -u --recursive --new-file v2.1.31/linux/net/x25/af_x25.c linux/net/x25/af_x25.c
@@ -1293,7 +1293,9 @@
 
 	printk(KERN_INFO "X.25 for Linux. Version 0.1 for Linux 2.1.15\n");
 
+#ifdef CONFIG_SYSCTL
 	x25_register_sysctl();
+#endif
 
 #ifdef CONFIG_PROC_FS
 	proc_net_register(&proc_net_x25);
@@ -1337,7 +1339,9 @@
 	x25_link_free();
 	x25_route_free();
 
+#ifdef CONFIG_SYSCTL
 	x25_unregister_sysctl();
+#endif
 
 	unregister_netdevice_notifier(&x25_dev_notifier);
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov