aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ide/ide-io.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ide/ide-io.c b/drivers/ide/ide-io.c
index a896a283f27f..1678043701df 100644
--- a/drivers/ide/ide-io.c
+++ b/drivers/ide/ide-io.c
@@ -540,8 +540,6 @@ static ide_startstop_t ide_disk_special(ide_drive_t *drive)
540 ide_tf_set_restore_cmd(drive, &args.tf); 540 ide_tf_set_restore_cmd(drive, &args.tf);
541 } else if (s->b.set_multmode) { 541 } else if (s->b.set_multmode) {
542 s->b.set_multmode = 0; 542 s->b.set_multmode = 0;
543 if (drive->mult_req > drive->id->max_multsect)
544 drive->mult_req = drive->id->max_multsect;
545 ide_tf_set_setmult_cmd(drive, &args.tf); 543 ide_tf_set_setmult_cmd(drive, &args.tf);
546 } else if (s->all) { 544 } else if (s->all) {
547 int special = s->all; 545 int special = s->all;