ide: remove commented out code from ide_config_drive_speed()

Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
上级 912ef6d9
...@@ -744,9 +744,6 @@ int ide_config_drive_speed(ide_drive_t *drive, u8 speed) ...@@ -744,9 +744,6 @@ int ide_config_drive_speed(ide_drive_t *drive, u8 speed)
int error = 0; int error = 0;
u8 stat; u8 stat;
// while (HWGROUP(drive)->busy)
// msleep(50);
#ifdef CONFIG_BLK_DEV_IDEDMA #ifdef CONFIG_BLK_DEV_IDEDMA
if (hwif->dma_ops) /* check if host supports DMA */ if (hwif->dma_ops) /* check if host supports DMA */
hwif->dma_ops->dma_host_set(drive, 0); hwif->dma_ops->dma_host_set(drive, 0);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册