Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 102126
b: refs/heads/master
c: 4b01fcb
h: refs/heads/master
v: v3
  • Loading branch information
Borislav Petkov authored and Bartlomiej Zolnierkiewicz committed Jul 16, 2008
1 parent 217f071 commit 2dbc1d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b6ca440a8ff15e12478ea6f026a52970e7a0c54c
refs/heads/master: 4b01fcbbe69bba34a8494fca6376ac0804f0f51d
11 changes: 2 additions & 9 deletions trunk/drivers/ide/ide-cd.c
Original file line number Diff line number Diff line change
Expand Up @@ -753,14 +753,6 @@ static ide_startstop_t cdrom_start_seek_continuation(ide_drive_t *drive)
return cdrom_transfer_packet_command(drive, rq, &cdrom_seek_intr);
}

static void cdrom_start_seek(ide_drive_t *drive)
{
struct cdrom_info *info = drive->driver_data;

info->dma = 0;
info->start_seek = jiffies;
}

/*
* Fix up a possibly partially-processed request so that we can start it over
* entirely, or even put it back on the request queue.
Expand Down Expand Up @@ -1219,7 +1211,8 @@ static ide_startstop_t ide_cd_do_request(ide_drive_t *drive, struct request *rq,
drive->dsc_overlap) {
xferlen = 0;
fn = cdrom_start_seek_continuation;
cdrom_start_seek(drive);
info->dma = 0;
info->start_seek = jiffies;
} else {
xferlen = 32768;
fn = cdrom_start_rw_cont;
Expand Down

0 comments on commit 2dbc1d0

Please sign in to comment.