From 73a701d7d07d739fcae205c0a289009fa4a00908 Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Fri, 24 Jun 2016 10:16:59 -0700 Subject: [PATCH] nvmf: remove unused spdk_nvmf_capsule_rsp It is the same as spdk_nvme_cpl, aside from reserved fields. Change-Id: I62b0718dd58c998b4d26a0d1b44ee16d37eff25d Signed-off-by: Daniel Verkamp --- include/spdk/nvmf_spec.h | 9 --------- lib/nvmf/request.h | 1 - 2 files changed, 10 deletions(-) diff --git a/include/spdk/nvmf_spec.h b/include/spdk/nvmf_spec.h index 944b7c921..abd6f29fe 100644 --- a/include/spdk/nvmf_spec.h +++ b/include/spdk/nvmf_spec.h @@ -56,15 +56,6 @@ struct spdk_nvmf_capsule_cmd { }; SPDK_STATIC_ASSERT(sizeof(struct spdk_nvmf_capsule_cmd) == 64, "Incorrect size"); -struct spdk_nvmf_capsule_rsp { - uint8_t fabric_specific[8]; - uint16_t sqhd; - uint8_t reserved1[2]; - uint16_t cid; - struct spdk_nvme_status status; -}; -SPDK_STATIC_ASSERT(sizeof(struct spdk_nvmf_capsule_rsp) == 16, "Incorrect size"); - /* Fabric Command Set */ #define SPDK_NVME_OPC_FABRIC 0x7f diff --git a/lib/nvmf/request.h b/lib/nvmf/request.h index c0a38b1cf..c883e1048 100644 --- a/lib/nvmf/request.h +++ b/lib/nvmf/request.h @@ -47,7 +47,6 @@ union nvmf_h2c_msg { SPDK_STATIC_ASSERT(sizeof(union nvmf_h2c_msg) == 64, "Incorrect size"); union nvmf_c2h_msg { - struct spdk_nvmf_capsule_rsp nvmf_rsp; struct spdk_nvme_cpl nvme_cpl; struct spdk_nvmf_fabric_prop_set_rsp prop_set_rsp; struct spdk_nvmf_fabric_prop_get_rsp prop_get_rsp;