From c14dd64467fdd2c5b8ce88bf14ee5a61c945e041 Mon Sep 17 00:00:00 2001 From: wuzhouhui Date: Fri, 14 Dec 2018 09:11:52 +0800 Subject: [PATCH] include/reduce: remove declaration of non-existent function Since commit 0b0af8f30b98 (reduce: calculate vol size from backing dev size) removes definition of spdk_reduce_get_backing_device_size(), the declaration of it should be removed as well. Change-Id: Id5ce3776fa4e119ff771f6bee9c06e09bfc842ce Signed-off-by: wuzhouhui Reviewed-on: https://review.gerrithub.io/437217 Tested-by: SPDK CI Jenkins Chandler-Test-Pool: SPDK Automated Test System Reviewed-by: Shuhei Matsumoto Reviewed-by: Changpeng Liu Reviewed-by: Ben Walker Reviewed-by: Jim Harris --- include/spdk/reduce.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/include/spdk/reduce.h b/include/spdk/reduce.h index b4b846d49..53934ff1a 100644 --- a/include/spdk/reduce.h +++ b/include/spdk/reduce.h @@ -81,15 +81,6 @@ struct spdk_reduce_vol_params { uint64_t vol_size; }; -/** - * Get the required size for the backing device for a compressed volume. - * - * \param params Parameters for the compressed volume - * \return Size of the required backing device (in bytes) needed to create - * the compressed volume. Returns -EINVAL if params is invalid. - */ -int64_t spdk_reduce_get_backing_device_size(struct spdk_reduce_vol_params *params); - struct spdk_reduce_vol; typedef void (*spdk_reduce_vol_op_complete)(void *ctx, int reduce_errno);