diff options
Diffstat (limited to 'drivers/ide')
-rw-r--r-- | drivers/ide/ide-generic.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/ide/ide-generic.c b/drivers/ide/ide-generic.c index bb9fc905d60c..a5c352abff59 100644 --- a/drivers/ide/ide-generic.c +++ b/drivers/ide/ide-generic.c | |||
@@ -118,15 +118,9 @@ static int __init ide_generic_init(void) | |||
118 | continue; | 118 | continue; |
119 | } | 119 | } |
120 | 120 | ||
121 | /* | ||
122 | * Skip probing if the corresponding | ||
123 | * slot is already occupied. | ||
124 | */ | ||
125 | hwif = ide_find_port(); | 121 | hwif = ide_find_port(); |
126 | if (hwif == NULL || hwif->index != i) { | 122 | if (hwif == NULL) |
127 | idx[i] = 0xff; | ||
128 | continue; | 123 | continue; |
129 | } | ||
130 | 124 | ||
131 | hwif->chipset = ide_generic; | 125 | hwif->chipset = ide_generic; |
132 | 126 | ||