summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr-self-heald.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/cluster/afr/src/afr-self-heald.c')
-rw-r--r--xlators/cluster/afr/src/afr-self-heald.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heald.c b/xlators/cluster/afr/src/afr-self-heald.c
index 177e92497fe..0d8d5294f49 100644
--- a/xlators/cluster/afr/src/afr-self-heald.c
+++ b/xlators/cluster/afr/src/afr-self-heald.c
@@ -1074,10 +1074,6 @@ afr_xl_op (xlator_t *this, dict_t *input, dict_t *output)
priv = this->private;
shd = &priv->shd;
- for (i = 0; i < priv->child_count; i++)
- if (priv->child_up[i] == -1)
- goto out;
-
ret = dict_get_int32 (input, "xl-op", (int32_t*)&op);
if (ret)
goto out;