From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id E3C3042EF5E for ; Fri, 26 Jun 2020 17:53:08 +0300 (MSK) Received: by mail-lj1-f169.google.com with SMTP id 9so10633774ljc.8 for ; Fri, 26 Jun 2020 07:53:08 -0700 (PDT) From: Cyrill Gorcunov Date: Fri, 26 Jun 2020 17:52:25 +0300 Message-Id: <20200626145227.1507426-4-gorcunov@gmail.com> In-Reply-To: <20200626145227.1507426-1-gorcunov@gmail.com> References: <20200626145227.1507426-1-gorcunov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 3/5] iproto: drop unused iproto_type_is_request List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tml Cc: Vladislav Shpilevoy Introduced in 157beda5abb336c722f6f8256b5682797d79b640 and never used since. In-scope-of #4842 Signed-off-by: Cyrill Gorcunov --- src/box/iproto_constants.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/box/iproto_constants.h b/src/box/iproto_constants.h index 57ae56d83..6b850f101 100644 --- a/src/box/iproto_constants.h +++ b/src/box/iproto_constants.h @@ -321,13 +321,6 @@ dml_request_key_map(uint32_t type) return iproto_body_key_map[type]; } -/** A common request with a mandatory and simple body (key, tuple, ops) */ -static inline bool -iproto_type_is_request(uint32_t type) -{ - return type > IPROTO_OK && type <= IPROTO_TYPE_STAT_MAX; -} - /** CONFIRM/ROLLBACK entries for synchronous replication. */ static inline bool iproto_type_is_synchro_request(uint32_t type) -- 2.26.2