aboutsummaryrefslogtreecommitdiff
path: root/drivers/block/drbd
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@linbit.com>2010-12-17 23:08:33 +0100
committerPhilipp Reisner <philipp.reisner@linbit.com>2012-11-08 16:44:49 +0100
commit1097e9a80cc1820501ae01e35f8c2872628fc86f (patch)
tree30a9ef6b31f840c314d204a2e0e9b28670c376b3 /drivers/block/drbd
parent69f5ec728c05e69b09cf37d7b3a1e5f394ec4a4d (diff)
downloadvexpress-lsk-1097e9a80cc1820501ae01e35f8c2872628fc86f.tar.gz
drbd: Remove unnecessary assertion
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>
Diffstat (limited to 'drivers/block/drbd')
-rw-r--r--drivers/block/drbd/drbd_req.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_req.c b/drivers/block/drbd/drbd_req.c
index fa799e372ba..f91f9c9a815 100644
--- a/drivers/block/drbd/drbd_req.c
+++ b/drivers/block/drbd/drbd_req.c
@@ -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 */