summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorKartik_Burmee <kburmee@redhat.com>2017-11-14 14:24:21 +0530
committerXavier Hernandez <jahernan@redhat.com>2017-11-14 16:26:48 +0000
commit49afb70f78027f63f4b4a66967e104b109f2f3b9 (patch)
tree824b20e3b5b7ef4897f171fbe695ab3e786dc3c8 /xlators
parent1cee2719d36e1ca8cd646c9ce94679014c5a28a4 (diff)
cluster: dead_code coverity fix
function: stripe_entry_self_heal issue: Execution cannot reach this statement: "dict_unref(xdata);" fix: removed the 'if' condition and the corresponding actions because if the execution reaches this statement, then the value of xdata will always be NULL Change-Id: Iebc825339e2e1236b92bed39d81a1a9aba10164e BUG: 789278 Signed-off-by: Kartik_Burmee <kburmee@redhat.com>
Diffstat (limited to 'xlators')
-rw-r--r--xlators/cluster/stripe/src/stripe.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xlators/cluster/stripe/src/stripe.c b/xlators/cluster/stripe/src/stripe.c
index 4a83707b4c4..0a3f716dd19 100644
--- a/xlators/cluster/stripe/src/stripe.c
+++ b/xlators/cluster/stripe/src/stripe.c
@@ -156,8 +156,6 @@ stripe_entry_self_heal (call_frame_t *frame, xlator_t *this,
out:
if (rframe)
STRIPE_STACK_DESTROY (rframe);
- if (xdata)
- dict_unref (xdata);
return 0;
}