nodedev: Remove the unused enum

Guess it was created for the fc_host and vports_ops capabilities
purpose, but there is enum virNodeDevScsiHostCapFlags for them,
and enum virNodeDevHBACapType is unused, and actually both
VIR_ENUM_DECL and VIR_ENUM_IMPL use the wrong enum name
"virNodeDevHBACap".
This commit is contained in:
Osier Yang 2013-01-08 01:05:27 +08:00
parent b88831f751
commit ab4b000188
2 changed files with 0 additions and 13 deletions

View File

@ -55,11 +55,6 @@ VIR_ENUM_IMPL(virNodeDevNetCap, VIR_NODE_DEV_CAP_NET_LAST,
"80203",
"80211")
VIR_ENUM_IMPL(virNodeDevHBACap, VIR_NODE_DEV_CAP_HBA_LAST,
"fc_host",
"vport_ops")
static int
virNodeDevCapsDefParseString(const char *xpath,
xmlXPathContextPtr ctxt,

View File

@ -56,16 +56,8 @@ enum virNodeDevNetCapType {
VIR_NODE_DEV_CAP_NET_LAST
};
enum virNodeDevHBACapType {
/* Keep in sync with VIR_ENUM_IMPL in node_device_conf.c */
VIR_NODE_DEV_CAP_HBA_FC_HOST, /* fibre channel HBA */
VIR_NODE_DEV_CAP_HBA_VPORT_OPS, /* capable of vport operations */
VIR_NODE_DEV_CAP_HBA_LAST
};
VIR_ENUM_DECL(virNodeDevCap)
VIR_ENUM_DECL(virNodeDevNetCap)
VIR_ENUM_DECL(virNodeDevHBACap)
enum virNodeDevStorageCapFlags {
VIR_NODE_DEV_CAP_STORAGE_REMOVABLE = (1 << 0),