]> git.baikalelectronics.ru Git - kernel.git/commit
ide: prepare init_irq() for using ide_remove_port_from_hwgroup()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 1 Feb 2008 22:09:36 +0000 (23:09 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 1 Feb 2008 22:09:36 +0000 (23:09 +0100)
commitd8246f1a44d3f5e9818b07772f307509bb4126c3
treeb3a9b20da3c022fe369d890627c33c82e060b345
parent2b88fff5df63bb96a0b06463fad0b8facdd66aca
ide: prepare init_irq() for using ide_remove_port_from_hwgroup()

* BUG_ON() early if 'hwif->next == hwif' and there is a 'match' hwgroup.

* Remove printk() for impossible condition and add a BUG_ON(hwgroup->drive)
  to match code in ide_unregister().

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