]> Git Repo - qemu.git/commit
hw/arm/virt: Remove null-check in virt_build_smbios()
authorPhilippe Mathieu-Daudé <[email protected]>
Sat, 9 Mar 2019 18:19:19 +0000 (19:19 +0100)
committerLaurent Vivier <[email protected]>
Mon, 11 Mar 2019 17:48:20 +0000 (18:48 +0100)
commit945309260d79de0df98c47ca078447a76fd70ec6
treead3810d4d2d9f0b2200959f83806a99ff1608343
parent4a90846d6f61065140ff4c610bee6b4e385372f0
hw/arm/virt: Remove null-check in virt_build_smbios()

Since commit 578f3c7b0835 ("arm: add fw_cfg to "virt" board",
2014-12-22), the machvirt_init() unconditionally creates the
fw_cfg object.  Later, commit c30e15658b1b ("smbios: implement
smbios support for mach-virt", 2015-09-07) added a superfluous
null-check on it.
Remove this superfluous check.

Reviewed-by: Laszlo Ersek <[email protected]>
Reviewed-by: Markus Armbruster <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <20190309181920[email protected]>
Signed-off-by: Laurent Vivier <[email protected]>
hw/arm/virt.c
This page took 0.025082 seconds and 4 git commands to generate.