mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
ide: remove commented out code from ide_config_drive_speed()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
parent
912ef6d94c
commit
49e153e681
1 changed files with 0 additions and 3 deletions
|
@ -744,9 +744,6 @@ int ide_config_drive_speed(ide_drive_t *drive, u8 speed)
|
|||
int error = 0;
|
||||
u8 stat;
|
||||
|
||||
// while (HWGROUP(drive)->busy)
|
||||
// msleep(50);
|
||||
|
||||
#ifdef CONFIG_BLK_DEV_IDEDMA
|
||||
if (hwif->dma_ops) /* check if host supports DMA */
|
||||
hwif->dma_ops->dma_host_set(drive, 0);
|
||||
|
|
Loading…
Reference in a new issue