Commit c14dd644 authored by wuzhouhui's avatar wuzhouhui Committed by Jim Harris
Browse files

include/reduce: remove declaration of non-existent function



Since commit 0b0af8f3 (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: default avatarwuzhouhui <wuzhouhui@kingsoft.com>
Reviewed-on: https://review.gerrithub.io/437217


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: default avatarShuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: default avatarChangpeng Liu <changpeng.liu@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
parent ae0aae15
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -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);