aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/ide-proc.c')
-rw-r--r--drivers/ide/ide-proc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/ide/ide-proc.c b/drivers/ide/ide-proc.c
index 00c249cba236..c6ed84b84e8b 100644
--- a/drivers/ide/ide-proc.c
+++ b/drivers/ide/ide-proc.c
@@ -793,9 +793,6 @@ static ide_proc_entry_t hwif_entries[] = {
793 793
794void ide_proc_register_port(ide_hwif_t *hwif) 794void ide_proc_register_port(ide_hwif_t *hwif)
795{ 795{
796 if (!hwif->present)
797 return;
798
799 if (!hwif->proc) { 796 if (!hwif->proc) {
800 hwif->proc = proc_mkdir(hwif->name, proc_ide_root); 797 hwif->proc = proc_mkdir(hwif->name, proc_ide_root);
801 798