From b8e80c2abfa84cd75172e7fb748a2b3114a60eba Mon Sep 17 00:00:00 2001 From: Kartik_Burmee Date: Sun, 19 Nov 2017 23:53:28 +0530 Subject: 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 --- xlators/cluster/dht/src/dht-common.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'xlators/cluster') 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; } -- cgit