mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
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:
parent
b88831f751
commit
ab4b000188
@ -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,
|
||||
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user