mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
X25: Move SYSCTL ifdefs into header
Moves the CONFIG_SYSCTL ifdefs in x25_init into header. Signed-off-by: Andrew Hendry <[email protected]> Acked-by: "Eric W. Biederman" <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
9f950f72e5
commit
2f5517aefc
2 changed files with 6 additions and 4 deletions
|
|
@ -1729,9 +1729,7 @@ static int __init x25_init(void)
|
|||
|
||||
printk(KERN_INFO "X.25 for Linux Version 0.2\n");
|
||||
|
||||
#ifdef CONFIG_SYSCTL
|
||||
x25_register_sysctl();
|
||||
#endif
|
||||
x25_proc_init();
|
||||
out:
|
||||
return rc;
|
||||
|
|
@ -1744,9 +1742,7 @@ static void __exit x25_exit(void)
|
|||
x25_link_free();
|
||||
x25_route_free();
|
||||
|
||||
#ifdef CONFIG_SYSCTL
|
||||
x25_unregister_sysctl();
|
||||
#endif
|
||||
|
||||
unregister_netdevice_notifier(&x25_dev_notifier);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue