]> xenbits.xensource.com Git - libvirt.git/commit
conf: Remove dead code
authorAndrea Bolognani <abologna@redhat.com>
Mon, 20 Feb 2017 14:56:18 +0000 (15:56 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Wed, 22 Feb 2017 17:55:54 +0000 (18:55 +0100)
commitc6a0fb8e71bc44745332a61ce73959a84e93f9c4
treeae050587d22e336c06f8ee0241818ab8610b38b2
parent75ba06e44afd60c358aa08b9bbf75d35d0f7ec23
conf: Remove dead code

The switch in virDomainPCIControllerModelToConnectType()
had some code that, while techically part of the
_PCIE_SWITCH_DOWNSTREAM_PORT case, was in fact dead due
to the early return.

Get rid of the dead code, and fix the inaccurate function
description while at it.
src/conf/domain_addr.c