drbd: Remove unnecessary assertion
authorAndreas Gruenbacher <agruen@linbit.com>
Fri, 17 Dec 2010 22:08:33 +0000 (23:08 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:44:49 +0000 (16:44 +0100)
This is also checked further below in the same function.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_req.c

index fa799e372babbde6ca949a8563c40a258348a695..f91f9c9a815cf1aaaf471f9e0f1b1f00b57f74db 100644 (file)
@@ -1010,7 +1010,6 @@ int drbd_make_request(struct request_queue *q, struct bio *bio)
         */
        D_ASSERT(bio->bi_size > 0);
        D_ASSERT(IS_ALIGNED(bio->bi_size, 512));
-       D_ASSERT(bio->bi_idx == 0);
 
        /* to make some things easier, force alignment of requests within the
         * granularity of our hash tables */
This page took 0.029617 seconds and 5 git commands to generate.