[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200804022045.54361.adobriyan@sw.ru>
Date: Wed, 2 Apr 2008 20:45:54 +0400
From: Alexey Dobriyan <adobriyan@...ru>
To: akpm@...l.org, bzolnier@...il.com
Cc: linux-kernel@...r.kernel.org, devel@...nvz.org
Subject: [PATCH 2/2] 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@...nvz.org>
---
drivers/ide/ide-proc.c | 8 --------
include/linux/ide.h | 4 ----
2 files changed, 12 deletions(-)
--- 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) {
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -695,10 +695,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:
*/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists