ide-generic: probing fix
commitedc74b247bedb3a1f80eb6371d4171f2d49c1c77
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 23 Jul 2008 17:55:56 +0000 (23 19:55 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 23 Jul 2008 17:55:56 +0000 (23 19:55 +0200)
treeecea50c3a7a6691a93f7edea892c6fd1dcbfdf8f
parent73dc532bc1eebe3bff6b918c5685a219eae27f97
ide-generic: probing fix

* Don't skip probing IDE port if the corresponding ide_hwifs[] slot
  is already occupied.

* Remove duplicate idx[i] assignment.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-generic.c