diff options
author | Kartik_Burmee <kburmee@redhat.com> | 2017-11-19 23:53:28 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2017-11-21 06:25:35 +0000 |
commit | b8e80c2abfa84cd75172e7fb748a2b3114a60eba (patch) | |
tree | 7ff7ff64075c0a4ae242e1d6e4401c82717088db /xlators/cluster/dht/src/dht-common.c | |
parent | aaef7e0d214b94a798b727af125006d07335b53c (diff) |
cluster/dht: dead code coverity fix
issue: Execution cannot reach this statement: "call_stub_destroy(stub);"
function: dht_mkdir_hashed_cbk
fix: removed the statement and the corresponding 'if' condition block.
Change-Id: I3e31056ee489ede6864e51a8e666edc7da3c175f
BUG: 789278
Signed-off-by: Kartik_Burmee <kburmee@redhat.com>
Diffstat (limited to 'xlators/cluster/dht/src/dht-common.c')
-rw-r--r-- | xlators/cluster/dht/src/dht-common.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/xlators/cluster/dht/src/dht-common.c b/xlators/cluster/dht/src/dht-common.c index f6d480af84a..b69608a4a2b 100644 --- a/xlators/cluster/dht/src/dht-common.c +++ b/xlators/cluster/dht/src/dht-common.c @@ -8786,9 +8786,6 @@ err: DHT_STACK_UNWIND (mkdir, frame, -1, op_errno, NULL, NULL, NULL, NULL, NULL); - if (stub) { - call_stub_destroy (stub); - } return 0; } |