diff options
author | Alexey Dobriyan <adobriyan@sw.ru> | 2008-04-27 09:38:34 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-27 09:38:34 -0400 |
commit | fd0949e6e84e4e1649d8ea7367e78e72f59bb19f (patch) | |
tree | 02036179f546b483630a144234dd65d94ec143da | |
parent | 19ba7b8f35116dfafcb02bdb745d5015d97d9cb6 (diff) |
ide: remove now unused ide_pci_create_host_proc()
It creates files in proc with obsoleted ->get_info interface.
Signed-off-by: Alexey Dobriyan <adobriyan@openvz.org>
Cc: Andrew Morton <akpm@osdl.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
-rw-r--r-- | drivers/ide/ide-proc.c | 8 | ||||
-rw-r--r-- | include/linux/ide.h | 4 |
2 files changed, 0 insertions, 12 deletions
diff --git a/drivers/ide/ide-proc.c b/drivers/ide/ide-proc.c index d9d98ac85b29..7b2f3815a838 100644 --- a/drivers/ide/ide-proc.c +++ b/drivers/ide/ide-proc.c | |||
@@ -786,14 +786,6 @@ void ide_proc_register_port(ide_hwif_t *hwif) | |||
786 | } | 786 | } |
787 | } | 787 | } |
788 | 788 | ||
789 | #ifdef CONFIG_BLK_DEV_IDEPCI | ||
790 | void ide_pci_create_host_proc(const char *name, get_info_t *get_info) | ||
791 | { | ||
792 | create_proc_info_entry(name, 0, proc_ide_root, get_info); | ||
793 | } | ||
794 | EXPORT_SYMBOL_GPL(ide_pci_create_host_proc); | ||
795 | #endif | ||
796 | |||
797 | void ide_proc_unregister_port(ide_hwif_t *hwif) | 789 | void ide_proc_unregister_port(ide_hwif_t *hwif) |
798 | { | 790 | { |
799 | if (hwif->proc) { | 791 | if (hwif->proc) { |
diff --git a/include/linux/ide.h b/include/linux/ide.h index 772228cf7115..32fd77bb4436 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -705,10 +705,6 @@ void ide_add_generic_settings(ide_drive_t *); | |||
705 | read_proc_t proc_ide_read_capacity; | 705 | read_proc_t proc_ide_read_capacity; |
706 | read_proc_t proc_ide_read_geometry; | 706 | read_proc_t proc_ide_read_geometry; |
707 | 707 | ||
708 | #ifdef CONFIG_BLK_DEV_IDEPCI | ||
709 | void ide_pci_create_host_proc(const char *, get_info_t *); | ||
710 | #endif | ||
711 | |||
712 | /* | 708 | /* |
713 | * Standard exit stuff: | 709 | * Standard exit stuff: |
714 | */ | 710 | */ |