aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/drbd/drbd_receiver.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/block/drbd/drbd_receiver.c b/drivers/block/drbd/drbd_receiver.c
index fb8e86153fd0..2207d2886f84 100644
--- a/drivers/block/drbd/drbd_receiver.c
+++ b/drivers/block/drbd/drbd_receiver.c
@@ -3763,9 +3763,6 @@ static void drbd_disconnect(struct drbd_conf *mdev)
3763 3763
3764 if (mdev->state.conn == C_STANDALONE) 3764 if (mdev->state.conn == C_STANDALONE)
3765 return; 3765 return;
3766 if (mdev->state.conn >= C_WF_CONNECTION)
3767 dev_err(DEV, "ASSERT FAILED cstate = %s, expected < WFConnection\n",
3768 drbd_conn_str(mdev->state.conn));
3769 3766
3770 /* asender does not clean up anything. it must not interfere, either */ 3767 /* asender does not clean up anything. it must not interfere, either */
3771 drbd_thread_stop(&mdev->asender); 3768 drbd_thread_stop(&mdev->asender);