From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Vladimir Davydov Subject: [PATCH 07/12] vinyl: zap vy_mem_update_formats Date: Sun, 1 Apr 2018 12:05:34 +0300 Message-Id: <9b5723f1b8301abe27de6b4a0f96ae8c8d481327.1522572161.git.vdavydov.dev@gmail.com> In-Reply-To: References: In-Reply-To: References: To: kostja@tarantool.org Cc: tarantool-patches@freelists.org List-ID: A piece of code left from the inglorious past, which doesn't even have a forward declaration, let alone used anywhere. Remove it. --- src/box/vy_mem.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/box/vy_mem.c b/src/box/vy_mem.c index 68abf5bc..9aaabf0b 100644 --- a/src/box/vy_mem.c +++ b/src/box/vy_mem.c @@ -124,19 +124,6 @@ vy_mem_new(struct vy_mem_env *env, int64_t generation, } void -vy_mem_update_formats(struct vy_mem *mem, struct tuple_format *new_format, - struct tuple_format *new_format_with_colmask) -{ - assert(mem->count.rows == 0); - tuple_format_unref(mem->format); - tuple_format_unref(mem->format_with_colmask); - mem->format = new_format; - mem->format_with_colmask = new_format_with_colmask; - tuple_format_ref(mem->format); - tuple_format_ref(mem->format_with_colmask); -} - -void vy_mem_delete(struct vy_mem *index) { index->env->tree_extent_size -= index->tree_extent_size; -- 2.11.0