OpenVZ Forum


Home » Mailing lists » Devel » [PATCH 2/2] ide: remove now unused ide_pci_create_host_proc()
[PATCH 2/2] ide: remove now unused ide_pci_create_host_proc() [message #28972] Wed, 02 April 2008 16:45 Go to next message
Alexey Dobriyan is currently offline  Alexey Dobriyan
Messages: 195
Registered: August 2006
Senior Member
It creates files in proc with obsoleted ->get_info interface.

Signed-off-by: Alexey Dobriyan <adobriyan@openvz.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:
  */
Re: [PATCH 2/2] ide: remove now unused ide_pci_create_host_proc() [message #29056 is a reply to message #28972] Thu, 03 April 2008 21:52 Go to previous message
Bartlomiej Zolnierkie is currently offline  Bartlomiej Zolnierkie
Messages: 3
Registered: April 2008
Junior Member
On Wednesday 02 April 2008, Alexey Dobriyan wrote:
> It creates files in proc with obsoleted ->get_info interface.
> 
> Signed-off-by: Alexey Dobriyan <adobriyan@openvz.org>

applied
Previous Topic: [PATCH 1/2] ide: switch /proc/ide/ali to seq_file interface
Next Topic: [PATCH 0/13 net-2.6.26] UDP/ICMP/TCP for a namespace v2
Goto Forum:
  


Current Time: Tue Oct 15 07:39:09 GMT 2024

Total time taken to generate the page: 0.04850 seconds