]> git.ipfire.org Git - thirdparty/libvirt.git/commit
node_device: Use the @cap iterator variable
authorMarc Hartmayer <mhartmay@linux.vnet.ibm.com>
Mon, 22 May 2017 06:38:20 +0000 (08:38 +0200)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 26 May 2017 14:44:05 +0000 (10:44 -0400)
commit3e69217953d596ab2b57b48f3851b5b205c5ed1d
tree0dfeaf63d83d32d96fef5e50722301281766aeba
parenta8eba5036cb4b0e2ec827e9e6e019ce70e451377
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: Bjoern Walk <bwalk@linux.vnet.ibm.com>
Signed-off-by: Marc Hartmayer <mhartmay@linux.vnet.ibm.com>
src/node_device/node_device_driver.c