]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_domain_address: Drop needless typecast in qemuDomainDeviceCalculatePCIConnectFlags()
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 2 May 2023 10:06:30 +0000 (12:06 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 15 Sep 2023 08:34:41 +0000 (10:34 +0200)
commit8435be39235d2843a158872c6bb378926dfefb44
tree8dae11009701c49e5292259db5097438a9c894ac
parent620b8ead8ba93dd96b471c307d408c150d349d40
qemu_domain_address: Drop needless typecast in qemuDomainDeviceCalculatePCIConnectFlags()

Inside of qemuDomainDeviceCalculatePCIConnectFlags() there's a
switch() which typecasts a variable of
virDomainHostdevSubsysSCSIVHostModelType type to the very same
type. This is useless.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_domain_address.c