patch-2.1.32 linux/net/rose/af_rose.c
Next file: linux/net/sunrpc/Makefile
Previous file: linux/net/rose/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/rose/af_rose.c
- Orig date:
Thu Mar 27 14:40:17 1997
diff -u --recursive --new-file v2.1.31/linux/net/rose/af_rose.c linux/net/rose/af_rose.c
@@ -1398,7 +1398,9 @@
for (i = 0; i < 6; i++)
register_netdev(&dev_rose[i]);
+#ifdef CONFIG_SYSCTL
rose_register_sysctl();
+#endif
#ifdef CONFIG_PROC_FS
proc_net_register(&proc_net_rose);
@@ -1436,8 +1438,9 @@
if (ax25cmp(&rose_callsign, &null_ax25_address) != 0)
ax25_listen_release(&rose_callsign, NULL);
+#ifdef CONFIG_SYSCTL
rose_unregister_sysctl();
-
+#endif
unregister_netdevice_notifier(&rose_dev_notifier);
sock_unregister(AF_ROSE);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov