diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-18 00:46:23 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-18 00:46:23 +0200 |
commit | fef39d95ea19d4b5e2547e344809a5398eba8b3c (patch) | |
tree | 86ffa7c0442493486551efe2d9ec26b97b7cb981 /drivers | |
parent | f0298512c86ebc2eae9f4556d0b15087aa750646 (diff) | |
download | linux-3.10-fef39d95ea19d4b5e2547e344809a5398eba8b3c.tar.gz linux-3.10-fef39d95ea19d4b5e2547e344809a5398eba8b3c.tar.bz2 linux-3.10-fef39d95ea19d4b5e2547e344809a5398eba8b3c.zip |
ide: remove needless CONFIG_BLK_DEV_HD hack from init_hwif()
request_irq() will fail if there is already another IRQ handler
registered and IRQ flags are mismatched.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ide/ide-probe.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c index 510254ab3c9..8ef5194f6d4 100644 --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c @@ -1241,13 +1241,6 @@ static int hwif_init(ide_hwif_t *hwif) return 0; } } -#ifdef CONFIG_BLK_DEV_HD - if (hwif->irq == HD_IRQ && hwif->io_ports[IDE_DATA_OFFSET] != HD_DATA) { - printk("%s: CANNOT SHARE IRQ WITH OLD " - "HARDDISK DRIVER (hd.c)\n", hwif->name); - return 0; - } -#endif /* CONFIG_BLK_DEV_HD */ if (register_blkdev(hwif->major, hwif->name)) return 0; |