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

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