]> git.ipfire.org Git - thirdparty/libvirt.git/commit
hyperv: remove duplicit addr check
authorJán Tomko <jtomko@redhat.com>
Thu, 10 Dec 2020 09:03:42 +0000 (10:03 +0100)
committerJán Tomko <jtomko@redhat.com>
Thu, 10 Dec 2020 11:58:54 +0000 (12:58 +0100)
commit641fd93de163988eca43990a2431a80750eea991
tree70719caa9b0c878f5d5848910282decf19fa1c4e
parentf9a7b84f72181b860a7809eef11c0d4a32908de4
hyperv: remove duplicit addr check

We already check addr is not negative right after filling
its value. There's no need to check it before using it too.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Fixes: a7a1d1f59e8ba2d8a3ed920ef595ccdfb0d8feb6
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/hyperv/hyperv_driver.c