Commit ac6437e0 authored by Vojtech Pavlik's avatar Vojtech Pavlik Committed by Linus Torvalds

[PATCH] Remove a not necessary #ifdef CONFIG_PROC_FS/#endif in input.c

parent 76db1db5
...@@ -735,11 +735,10 @@ static int __init input_init(void) ...@@ -735,11 +735,10 @@ static int __init input_init(void)
static void __exit input_exit(void) static void __exit input_exit(void)
{ {
#ifdef CONFIG_PROC_FS
remove_proc_entry("devices", proc_bus_input_dir); remove_proc_entry("devices", proc_bus_input_dir);
remove_proc_entry("handlers", proc_bus_input_dir); remove_proc_entry("handlers", proc_bus_input_dir);
remove_proc_entry("input", proc_bus); remove_proc_entry("input", proc_bus);
#endif
devfs_remove("input"); devfs_remove("input");
unregister_chrdev(INPUT_MAJOR, "input"); unregister_chrdev(INPUT_MAJOR, "input");
class_unregister(&input_class); class_unregister(&input_class);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment