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

From: Vojtech Pavlik
Date: Fri Sep 19 2003 - 14:51:05 EST


You can pull this changeset from:
bk://kernel.bkbits.net/vojtech/input

===================================================================

ChangeSet@xxxxxx, 2003-09-19 13:25:06+02:00, lcapitulino@xxxxxxxxxxxxxxxxxxxx
input: Remove a not necessary #ifdef CONFIG_PROC_FS/#endif in input.c


input.c | 3 +--
1 files changed, 1 insertion(+), 2 deletions(-)

===================================================================

diff -Nru a/drivers/input/input.c b/drivers/input/input.c
--- a/drivers/input/input.c Fri Sep 19 14:12:49 2003
+++ b/drivers/input/input.c Fri Sep 19 14:12:49 2003
@@ -737,11 +737,10 @@

static void __exit input_exit(void)
{
-#ifdef CONFIG_PROC_FS
remove_proc_entry("devices", proc_bus_input_dir);
remove_proc_entry("handlers", proc_bus_input_dir);
remove_proc_entry("input", proc_bus);
-#endif
+
devfs_remove("input");
unregister_chrdev(INPUT_MAJOR, "input");
class_unregister(&input_class);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/