]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ide-cd: remove dead code from cdrom_pc_intr()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 1 Feb 2008 22:09:18 +0000 (23:09 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 1 Feb 2008 22:09:18 +0000 (23:09 +0100)
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-cd.c

index 8dea991ccee75a70908b2cd89cf3fb1600a536f3..bec6ac077b4d03882e89c9ad2c926db64f3c4631 100644 (file)
@@ -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);
                }