hw/pci-host/sabre: Simplify code initializing variable once
commit0980307e705b5677d9b4158a0a0346abf5041f33
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 12 Oct 2020 17:09:47 +0000 (12 19:09 +0200)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 28 Oct 2020 07:59:26 +0000 (28 07:59 +0000)
tree7e4b0b03478c289d02deb5c102d28abd5836a449
parenta0376c0311bad493ef9e4cd9ed596463410c1965
hw/pci-host/sabre: Simplify code initializing variable once

We only need to zero-initialize 'val' once.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20201012170950.3491912-4-f4bug@amsat.org>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
hw/pci-host/sabre.c