node_device: Use the @cap iterator variable
Since the switch statement is already using the deref'd @cap variable and the VIR_NODE_DEV_CAP_NET case uses it, the SCSI_HOST and PCI_DEV cases may as well use it too. Suggested-by: NBjoern Walk <bwalk@linux.vnet.ibm.com> Signed-off-by: NMarc Hartmayer <mhartmay@linux.vnet.ibm.com>
Showing
想要评论请 注册 或 登录