]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: eliminate pointless setting of interface model
authorLaine Stump <laine@redhat.com>
Fri, 29 Jan 2021 04:39:33 +0000 (23:39 -0500)
committerLaine Stump <laine@redhat.com>
Tue, 2 Feb 2021 05:27:58 +0000 (00:27 -0500)
commit2adfd26ec92875c853153510ea8edefa7210fe09
treebdb10eec9134309344761f51eb154250a7aadbfd
parentc2e47fb334b2898d3edf00d0f6f73933b0485aa7
conf: eliminate pointless setting of interface model

There is no point in setting the interface model to unknown during
virDomainNetDefFree(), since we are about to free the object anyway
(and the model isn't used anywhere in the rest of the function).

Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/domain_conf.c