aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/ide/ide-io.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/ide/ide-io.c b/drivers/ide/ide-io.c
index c33a8006838b..0873887194f7 100644
--- a/drivers/ide/ide-io.c
+++ b/drivers/ide/ide-io.c
@@ -357,9 +357,7 @@ static ide_startstop_t ide_special_rq(ide_drive_t *drive, struct request *rq)
357 case REQ_DRIVE_RESET: 357 case REQ_DRIVE_RESET:
358 return ide_do_reset(drive); 358 return ide_do_reset(drive);
359 default: 359 default:
360 blk_dump_rq_flags(rq, "ide_special_rq - bad request"); 360 BUG();
361 ide_end_request(drive, 0, 0);
362 return ide_stopped;
363 } 361 }
364} 362}
365 363