From 5b5a8b2523eeccf55ef6cb9dbd859ab26efa22fa Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 28 Feb 2017 20:35:39 -0800 Subject: [PATCH] scst_copy_mgr: Remove two incorrect assert statements --- scst/src/scst_copy_mgr.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/scst/src/scst_copy_mgr.c b/scst/src/scst_copy_mgr.c index 0360a7262..9ddb6374e 100644 --- a/scst/src/scst_copy_mgr.c +++ b/scst/src/scst_copy_mgr.c @@ -2638,7 +2638,6 @@ static void scst_cm_dev_unregister(struct scst_device *dev, bool del_lun) TRACE_ENTRY(); - scst_assert_activity_suspended(); lockdep_assert_held(&scst_mutex); TRACE_DBG("dev %s, del_lun %d", dev->virt_name, del_lun); @@ -2809,7 +2808,6 @@ bool scst_cm_on_del_lun(struct scst_acg_dev *acg_dev, bool gen_report_luns_chang TRACE_ENTRY(); - scst_assert_activity_suspended(); lockdep_assert_held(&scst_mutex); if (acg_dev->acg != scst_cm_tgt->default_acg)