summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/ec/src/ec-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/cluster/ec/src/ec-common.c')
-rw-r--r--xlators/cluster/ec/src/ec-common.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/xlators/cluster/ec/src/ec-common.c b/xlators/cluster/ec/src/ec-common.c
index 9f312e0c37c..374739ac6e0 100644
--- a/xlators/cluster/ec/src/ec-common.c
+++ b/xlators/cluster/ec/src/ec-common.c
@@ -1767,21 +1767,7 @@ void __ec_manager(ec_fop_data_t * fop, int32_t error)
}
if ((fop->state == EC_STATE_END) || (fop->state == -EC_STATE_END)) {
- gf_boolean_t notify;
-
- LOCK(&ec->lock);
-
- list_del_init(&fop->pending_list);
- notify = list_empty(&ec->pending_fops);
-
- UNLOCK(&ec->lock);
-
ec_fop_data_release(fop);
-
- if (notify) {
- ec_pending_fops_completed(ec);
- }
-
break;
}