drbd: Microfix: Assigning sector once is sufficient
authorPhilipp Reisner <philipp.reisner@linbit.com>
Mon, 23 Aug 2010 13:51:56 +0000 (15:51 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 14 Oct 2010 16:38:21 +0000 (18:38 +0200)
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_receiver.c

index 0d9967fef528e3bc2897cdbecbcb6de4cf5b3892..591a171291d92d34bc2e96147be13e932da74c0f 100644 (file)
@@ -365,7 +365,6 @@ struct drbd_epoch_entry *drbd_alloc_ee(struct drbd_conf *mdev,
        e->size = data_size;
        e->flags = 0;
        e->sector = sector;
-       e->sector = sector;
        e->block_id = id;
 
        return e;