From: Bartlomiej Zolnierkiewicz Date: Fri, 1 Feb 2008 22:09:18 +0000 (+0100) Subject: ide-cd: remove dead code from cdrom_pc_intr() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6229ac1ff32692694b7b0e74585b1ef6fa8973fd;p=linux-beck.git ide-cd: remove dead code from cdrom_pc_intr() Acked-by: Sergei Shtylyov Signed-off-by: Bartlomiej Zolnierkiewicz --- 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) if (rq->data_len == 0) cdrom_end_request(drive, 1); else { - /* Comment this out, because this always happens - right after a reset occurs, and it is annoying to - always print expected stuff. */ - /* - printk ("%s: cdrom_pc_intr: data underrun %d\n", - drive->name, pc->buflen); - */ rq->cmd_flags |= REQ_FAILED; cdrom_end_request(drive, 0); }