Commit e6b3b6c3 authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz Committed by Jeff Garzik

[PATCH] ide: tiny cleanup of "ideX=ata66" parameter handling in ide_setup()

hwif->udma_four is always preset to 0
parent eb728f67
......@@ -2172,10 +2172,9 @@ int __init ide_setup (char *s)
#ifdef CONFIG_BLK_DEV_IDEPCI
hwif->udma_four = 1;
goto done;
#else /* !CONFIG_BLK_DEV_IDEPCI */
hwif->udma_four = 0;
#else
goto bad_hwif;
#endif /* CONFIG_BLK_DEV_IDEPCI */
#endif
case -6: /* dma */
hwif->autodma = 1;
goto done;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment