Skip to content

Commit

Permalink
ide: remove now unused ide_pci_create_host_proc()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexey Dobriyan authored and Bartlomiej Zolnierkiewicz committed Apr 27, 2008
1 parent 19ba7b8 commit fd0949e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
8 changes: 0 additions & 8 deletions drivers/ide/ide-proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
4 changes: 0 additions & 4 deletions include/linux/ide.h
Original file line number Diff line number Diff line change
Expand Up @@ -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:
*/
Expand Down

0 comments on commit fd0949e

Please sign in to comment.