From: Alexey Dobriyan Date: Sun, 27 Apr 2008 13:38:34 +0000 (+0200) Subject: ide: remove now unused ide_pci_create_host_proc() X-Git-Tag: v2.6.26-rc1~1029^2~5 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=fd0949e6e84e4e1649d8ea7367e78e72f59bb19f;p=linux-2.6-omap-h63xx.git ide: remove now unused ide_pci_create_host_proc() It creates files in proc with obsoleted ->get_info interface. Signed-off-by: Alexey Dobriyan Cc: Andrew Morton Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/ide/ide-proc.c b/drivers/ide/ide-proc.c index d9d98ac85b2..7b2f3815a83 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) } } -#ifdef CONFIG_BLK_DEV_IDEPCI -void ide_pci_create_host_proc(const char *name, get_info_t *get_info) -{ - create_proc_info_entry(name, 0, proc_ide_root, get_info); -} -EXPORT_SYMBOL_GPL(ide_pci_create_host_proc); -#endif - void ide_proc_unregister_port(ide_hwif_t *hwif) { if (hwif->proc) { diff --git a/include/linux/ide.h b/include/linux/ide.h index 772228cf711..32fd77bb443 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h @@ -705,10 +705,6 @@ void ide_add_generic_settings(ide_drive_t *); read_proc_t proc_ide_read_capacity; read_proc_t proc_ide_read_geometry; -#ifdef CONFIG_BLK_DEV_IDEPCI -void ide_pci_create_host_proc(const char *, get_info_t *); -#endif - /* * Standard exit stuff: */