summaryrefslogtreecommitdiffstats
path: root/xlators/features/changelog/src/changelog-rpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features/changelog/src/changelog-rpc.c')
-rw-r--r--xlators/features/changelog/src/changelog-rpc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xlators/features/changelog/src/changelog-rpc.c b/xlators/features/changelog/src/changelog-rpc.c
index b07030ec28e..76addf18545 100644
--- a/xlators/features/changelog/src/changelog-rpc.c
+++ b/xlators/features/changelog/src/changelog-rpc.c
@@ -126,9 +126,9 @@ changelog_init_rpc_threads (xlator_t *this, changelog_priv_t *priv,
cleanup_connector:
(void) pthread_cancel (priv->connector);
cleanup_wait_lock:
- (void) LOCK_DESTROY (&conn->wait_lock);
+ LOCK_DESTROY (&conn->wait_lock);
cleanup_active_lock:
- (void) LOCK_DESTROY (&conn->active_lock);
+ LOCK_DESTROY (&conn->active_lock);
cleanup_pending_cond:
(void) pthread_cond_destroy (&conn->pending_cond);
cleanup_pending_lock:
@@ -183,7 +183,7 @@ changelog_rpc_clnt_cleanup (changelog_rpc_clnt_t *crpc)
if (!crpc)
return;
crpc->c_clnt = NULL;
- (void) LOCK_DESTROY (&crpc->lock);
+ LOCK_DESTROY (&crpc->lock);
GF_FREE (crpc);
}