]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
conf: Remove extraneous check in virDomainHostdevAssignAddress
authorJohn Ferlan <jferlan@redhat.com>
Thu, 16 Jul 2015 12:32:53 +0000 (08:32 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 3 Aug 2015 20:48:45 +0000 (16:48 -0400)
commit8b97ba2952bd6eb16bb475eb100803ac8bf95086
tree868c8229598904c2b6ea27c7b6e3add71526df6c
parent88c4c32af17adfc21b810b62b71de8b2d245fef9
conf: Remove extraneous check in virDomainHostdevAssignAddress

Since the only way virDomainHostdevAssignAddress can be called is from
within virDomainHostdevDefParseXML when hostdev->source.subsys.type is
VIR_DOMAIN_HOSTDEV_SUBSYS_TYPE_SCSI, thus there's no need for redundancy.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/conf/domain_conf.c