summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/call-stub.c
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src/call-stub.c')
-rw-r--r--libglusterfs/src/call-stub.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libglusterfs/src/call-stub.c b/libglusterfs/src/call-stub.c
index 67543c64a13..8761b40a0c6 100644
--- a/libglusterfs/src/call-stub.c
+++ b/libglusterfs/src/call-stub.c
@@ -3822,12 +3822,8 @@ call_stub_destroy_unwind (call_stub_t *stub)
void
call_stub_destroy (call_stub_t *stub)
{
- struct mem_pool *tmp_pool = NULL;
-
GF_VALIDATE_OR_GOTO ("call-stub", stub, out);
- tmp_pool = stub->stub_mem_pool;
-
if (stub->wind) {
call_stub_destroy_wind (stub);
} else {
@@ -3837,8 +3833,6 @@ call_stub_destroy (call_stub_t *stub)
stub->stub_mem_pool = NULL;
mem_put (stub);
out:
- tmp_pool = NULL;
-
return;
}