projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
912ef6d
)
ide: remove commented out code from ide_config_drive_speed()
author
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Tue, 15 Jul 2008 19:21:47 +0000
(21:21 +0200)
committer
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Tue, 15 Jul 2008 19:21:47 +0000
(21:21 +0200)
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-iops.c
patch
|
blob
|
history
diff --git
a/drivers/ide/ide-iops.c
b/drivers/ide/ide-iops.c
index c2dd20aa15a613effddae46297ce920383eab299..2de4c8f581ebfa97ce845da8a846ab2dcf50d2c6 100644
(file)
--- a/
drivers/ide/ide-iops.c
+++ b/
drivers/ide/ide-iops.c
@@
-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);