From c21d662cbe1fb36eb8660ab84a2582c3e8f06107 Mon Sep 17 00:00:00 2001 From: Xiangyue Cai Date: Mon, 9 Sep 2019 13:36:45 +0800 Subject: [PATCH] remove redundant log --- common/mq-mgr.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/common/mq-mgr.c b/common/mq-mgr.c index 7aec090b..3183e4db 100644 --- a/common/mq-mgr.c +++ b/common/mq-mgr.c @@ -63,10 +63,8 @@ json_t * seaf_mq_manager_pop_event (SeafMqManager *mgr, const char *channel) { GAsyncQueue *async_queue = g_hash_table_lookup (mgr->priv->chans, channel); - if (!async_queue) { - seaf_warning ("Unkonwn message channel %s.\n", channel); + if (!async_queue) return NULL; - } return g_async_queue_try_pop (async_queue); }