drbd: Remove duplicate initialization
authorAndreas Gruenbacher <agruen@linbit.com>
Mon, 13 Dec 2010 21:50:15 +0000 (22:50 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:44:49 +0000 (16:44 +0100)
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_state.c

index 79e4a90a6c7e1b23744436c774c8c7950bab462e..52ff1c7379e9570bc9c8bd2781751e597f8203c9 100644 (file)
@@ -984,7 +984,7 @@ static void after_state_ch(struct drbd_conf *mdev, union drbd_state os,
 {
        enum drbd_fencing_p fp;
        enum drbd_req_event what = NOTHING;
-       union drbd_state nsm = (union drbd_state){ .i = -1 };
+       union drbd_state nsm;
        struct sib_info sib;
 
        sib.sib_reason = SIB_STATE_CHANGE;