Messages in this thread Patch in this message | | | From | Bartlomiej Zolnierkiewicz <> | Date | Fri, 12 Jan 2007 05:27:29 +0100 | Subject | [PATCH 13/19] hpt366: remove redundant check from init_dma_hpt366() |
| |
[PATCH] hpt366: remove redundant check from init_dma_hpt366()
->init_dma() cannot be called with dmabase == 0 (see drivers/ide/setup-pci.c)
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
--- drivers/ide/pci/hpt366.c | 3 --- 1 file changed, 3 deletions(-)
Index: a/drivers/ide/pci/hpt366.c =================================================================== --- a.orig/drivers/ide/pci/hpt366.c +++ a/drivers/ide/pci/hpt366.c @@ -1391,9 +1391,6 @@ static void __devinit init_dma_hpt366(id u8 dma_new = 0, dma_old = 0; unsigned long flags; - if (!dmabase) - return; - dma_old = hwif->INB(dmabase + 2); local_irq_save(flags); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |