]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/block/floppy.c
Drop 'size' argument from bio_endio and bi_end_io
[linux-2.6-omap-h63xx.git] / drivers / block / floppy.c
index f0a86e201b4444a7a6b15d4980293a8ecfd1d8ed..80483aac4cc9b6a166f9ed9c059fb8ec00c8806f 100644 (file)
@@ -3810,14 +3810,10 @@ static int check_floppy_change(struct gendisk *disk)
  * a disk in the drive, and whether that disk is writable.
  */
 
-static int floppy_rb0_complete(struct bio *bio, unsigned int bytes_done,
+static void floppy_rb0_complete(struct bio *bio,
                               int err)
 {
-       if (bio->bi_size)
-               return 1;
-
        complete((struct completion *)bio->bi_private);
-       return 0;
 }
 
 static int __floppy_read_block_0(struct block_device *bdev)