projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fbf4d2
)
drbd: Remove duplicate initialization
author
Andreas Gruenbacher
<agruen@linbit.com>
Mon, 13 Dec 2010 21:50:15 +0000
(22:50 +0100)
committer
Philipp 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
patch
|
blob
|
history
diff --git
a/drivers/block/drbd/drbd_state.c
b/drivers/block/drbd/drbd_state.c
index 79e4a90a6c7e1b23744436c774c8c7950bab462e..52ff1c7379e9570bc9c8bd2781751e597f8203c9 100644
(file)
--- a/
drivers/block/drbd/drbd_state.c
+++ b/
drivers/block/drbd/drbd_state.c
@@
-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;