nvmf: remove unused port type field and enum

The type is already stored in the fabric_intf.

Change-Id: Icd33dd29f2fa1313329b4053892693c7ff90945d
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Daniel Verkamp 2016-07-15 09:43:18 -07:00
parent 2653cb49a7
commit 70e26ebd6f
2 changed files with 0 additions and 8 deletions

View File

@ -126,7 +126,6 @@ spdk_nvmf_port_create(int tag)
port->state = GROUP_INIT;
port->tag = tag;
port->type = FABRIC_RDMA;
port->tsas.rdma.rdma_qptype = SPDK_NVMF_QP_TYPE_RELIABLE_CONNECTED;
/* No provider specified */
port->tsas.rdma.rdma_prtype = SPDK_NVMF_RDMA_NO_PROVIDER;

View File

@ -50,12 +50,6 @@
* ports for the group of aggregated links constitute a single NVM subsystem port.
*/
enum fabric_type {
FABRIC_RDMA = 0x1,
FABRIC_PCI = 0x2,
FABRIC_ETHERNET = 0x3,
};
enum group_state {
GROUP_INIT = 0x0,
GROUP_READY = 0x1,
@ -76,7 +70,6 @@ struct spdk_nvmf_fabric_intf {
struct spdk_nvmf_port {
int tag;
enum group_state state;
enum fabric_type type;
union spdk_nvmf_transport_specific_address tsas;
TAILQ_HEAD(, spdk_nvmf_fabric_intf) head;
TAILQ_ENTRY(spdk_nvmf_port) tailq;