aboutsummaryrefslogtreecommitdiffstats
path: root/net/x25
diff options
context:
space:
mode:
Diffstat (limited to 'net/x25')
-rw-r--r--net/x25/af_x25.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/x25/af_x25.c b/net/x25/af_x25.c
index 2a3a513af3cb..f327ef5cb0e9 100644
--- a/net/x25/af_x25.c
+++ b/net/x25/af_x25.c
@@ -1729,9 +1729,7 @@ static int __init x25_init(void)
1729 1729
1730 printk(KERN_INFO "X.25 for Linux Version 0.2\n"); 1730 printk(KERN_INFO "X.25 for Linux Version 0.2\n");
1731 1731
1732#ifdef CONFIG_SYSCTL
1733 x25_register_sysctl(); 1732 x25_register_sysctl();
1734#endif
1735 x25_proc_init(); 1733 x25_proc_init();
1736out: 1734out:
1737 return rc; 1735 return rc;
@@ -1744,9 +1742,7 @@ static void __exit x25_exit(void)
1744 x25_link_free(); 1742 x25_link_free();
1745 x25_route_free(); 1743 x25_route_free();
1746 1744
1747#ifdef CONFIG_SYSCTL
1748 x25_unregister_sysctl(); 1745 x25_unregister_sysctl();
1749#endif
1750 1746
1751 unregister_netdevice_notifier(&x25_dev_notifier); 1747 unregister_netdevice_notifier(&x25_dev_notifier);
1752 1748