Skip to content

Commit

Permalink
ide-cd: cdrom_start_seek: remove unused argument block
Browse files Browse the repository at this point in the history
There should be no functionality change resulting from this patch.

Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
  • Loading branch information
Borislav Petkov authored and Bartlomiej Zolnierkiewicz committed Jul 16, 2008
1 parent ab9d6e3 commit 8ea1d17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/ide/ide-cd.c
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ static ide_startstop_t cdrom_start_seek_continuation(ide_drive_t *drive)
return cdrom_transfer_packet_command(drive, rq, &cdrom_seek_intr);
}

static ide_startstop_t cdrom_start_seek(ide_drive_t *drive, unsigned int block)
static ide_startstop_t cdrom_start_seek(ide_drive_t *drive)
{
struct cdrom_info *info = drive->driver_data;

Expand Down Expand Up @@ -1223,7 +1223,7 @@ static ide_startstop_t ide_do_rw_cdrom(ide_drive_t *drive, struct request *rq,
IDE_LARGE_SEEK(info->last_block, block,
IDECD_SEEK_THRESHOLD) &&
drive->dsc_overlap)
action = cdrom_start_seek(drive, block);
action = cdrom_start_seek(drive);
else
action = cdrom_start_rw(drive, rq);
info->last_block = block;
Expand Down

0 comments on commit 8ea1d17

Please sign in to comment.