]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ide-cd: cdrom_start_seek: remove unused argument block
authorBorislav Petkov <petkovbb@googlemail.com>
Wed, 16 Jul 2008 18:33:45 +0000 (20:33 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 16 Jul 2008 18:33:45 +0000 (20:33 +0200)
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>
drivers/ide/ide-cd.c

index 6ade498cd2fe691ae66c42b531cdb24791388e76..ff98222ece01e927091ce79754a01fb97e5b1e06 100644 (file)
@@ -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;
 
@@ -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;