Skip to content

Commit

Permalink
drbd: Remove unnecessary assertion
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andreas Gruenbacher authored and Philipp Reisner committed Nov 8, 2012
1 parent 69f5ec7 commit 1097e9a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/block/drbd/drbd_req.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 1097e9a

Please sign in to comment.