]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide-cd: unify moving to the next buffer in cdrom_rw_intr()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 1 Feb 2008 22:09:27 +0000 (23:09 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 1 Feb 2008 22:09:27 +0000 (23:09 +0100)
commit37782fcefcca437f870e581e6cc316111f8b7660
treec80d23c525fa758218e35d91dfff65f18e49764e
parent21ea1f0f011a5bbfbc3f5c134a4e537e5f5c1c50
ide-cd: unify moving to the next buffer in cdrom_rw_intr()

Use the fact that for the first loop rq->current_nr_sectors is always
set and unify moving to the next buffer for read/write requests.

There should be no functionality changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-cd.c