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>
This commit is contained in:
parent
9f8256dbb6
commit
6229ac1ff3
1 changed files with 0 additions and 7 deletions
|
@ -1201,13 +1201,6 @@ static ide_startstop_t cdrom_pc_intr (ide_drive_t *drive)
|
||||||
if (rq->data_len == 0)
|
if (rq->data_len == 0)
|
||||||
cdrom_end_request(drive, 1);
|
cdrom_end_request(drive, 1);
|
||||||
else {
|
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;
|
rq->cmd_flags |= REQ_FAILED;
|
||||||
cdrom_end_request(drive, 0);
|
cdrom_end_request(drive, 0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue