aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-cd.c
diff options
context:
space:
mode:
authorBorislav Petkov <petkovbb@googlemail.com>2008-07-16 14:33:45 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-07-16 14:33:45 -0400
commit8ea1d17b962c35401fe26428e25c4652023e2652 (patch)
treeb3d5a0e868a1b80e5f012eb9db5898be1e59bfa2 /drivers/ide/ide-cd.c
parentab9d6e3374d938cf3d941fbed5ba32a19ad263b8 (diff)
ide-cd: cdrom_start_seek: remove unused argument block
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>
Diffstat (limited to 'drivers/ide/ide-cd.c')
-rw-r--r--drivers/ide/ide-cd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c
index 6ade498cd2fe..ff98222ece01 100644
--- a/drivers/ide/ide-cd.c
+++ b/drivers/ide/ide-cd.c
@@ -753,7 +753,7 @@ static ide_startstop_t cdrom_start_seek_continuation(ide_drive_t *drive)
753 return cdrom_transfer_packet_command(drive, rq, &cdrom_seek_intr); 753 return cdrom_transfer_packet_command(drive, rq, &cdrom_seek_intr);
754} 754}
755 755
756static ide_startstop_t cdrom_start_seek(ide_drive_t *drive, unsigned int block) 756static ide_startstop_t cdrom_start_seek(ide_drive_t *drive)
757{ 757{
758 struct cdrom_info *info = drive->driver_data; 758 struct cdrom_info *info = drive->driver_data;
759 759
@@ -1223,7 +1223,7 @@ static ide_startstop_t ide_do_rw_cdrom(ide_drive_t *drive, struct request *rq,
1223 IDE_LARGE_SEEK(info->last_block, block, 1223 IDE_LARGE_SEEK(info->last_block, block,
1224 IDECD_SEEK_THRESHOLD) && 1224 IDECD_SEEK_THRESHOLD) &&
1225 drive->dsc_overlap) 1225 drive->dsc_overlap)
1226 action = cdrom_start_seek(drive, block); 1226 action = cdrom_start_seek(drive);
1227 else 1227 else
1228 action = cdrom_start_rw(drive, rq); 1228 action = cdrom_start_rw(drive, rq);
1229 info->last_block = block; 1229 info->last_block = block;