diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-02-01 17:09:18 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-02-01 17:09:18 -0500 |
commit | 6229ac1ff32692694b7b0e74585b1ef6fa8973fd (patch) | |
tree | a33cecb54c263b030a9ffb9ba3dcf9a454e19c53 /drivers/ide/ide-cd.c | |
parent | 9f8256dbb690eeb93a8b2422ff02382e3a19ed20 (diff) |
ide-cd: remove dead code from cdrom_pc_intr()
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-cd.c')
-rw-r--r-- | drivers/ide/ide-cd.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c index 8dea991ccee7..bec6ac077b4d 100644 --- a/drivers/ide/ide-cd.c +++ b/drivers/ide/ide-cd.c | |||
@@ -1201,13 +1201,6 @@ static ide_startstop_t cdrom_pc_intr (ide_drive_t *drive) | |||
1201 | if (rq->data_len == 0) | 1201 | if (rq->data_len == 0) |
1202 | cdrom_end_request(drive, 1); | 1202 | cdrom_end_request(drive, 1); |
1203 | else { | 1203 | else { |
1204 | /* Comment this out, because this always happens | ||
1205 | right after a reset occurs, and it is annoying to | ||
1206 | always print expected stuff. */ | ||
1207 | /* | ||
1208 | printk ("%s: cdrom_pc_intr: data underrun %d\n", | ||
1209 | drive->name, pc->buflen); | ||
1210 | */ | ||
1211 | rq->cmd_flags |= REQ_FAILED; | 1204 | rq->cmd_flags |= REQ_FAILED; |
1212 | cdrom_end_request(drive, 0); | 1205 | cdrom_end_request(drive, 0); |
1213 | } | 1206 | } |