summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/features/changelog/src/changelog-barrier.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/xlators/features/changelog/src/changelog-barrier.c b/xlators/features/changelog/src/changelog-barrier.c
index 2c237708cf4..22cfa617e1b 100644
--- a/xlators/features/changelog/src/changelog-barrier.c
+++ b/xlators/features/changelog/src/changelog-barrier.c
@@ -96,11 +96,10 @@ void
__chlog_barrier_disable (xlator_t *this, struct list_head *queue)
{
changelog_priv_t *priv = this->private;
- int ret = 0;
GF_ASSERT (priv);
if (priv->timer) {
- ret = gf_timer_call_cancel (this->ctx, priv->timer);
+ gf_timer_call_cancel (this->ctx, priv->timer);
priv->timer = NULL;
}