]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/i386/pc_{piix, q35}: Eliminate local pci_bus/pci_host variables
authorBernhard Beschow <shentey@gmail.com>
Sat, 24 Feb 2024 13:58:48 +0000 (14:58 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 27 Feb 2024 08:37:30 +0000 (09:37 +0100)
commite71dd86320d35da132dd6df1267e9a5b8e4dfb1c
tree363dec9a88ce7f32d2ed3b79b019301f7c68fdfb
parentb54a9d46a0fe294a3ff6d169cd5292c73e2894e4
hw/i386/pc_{piix, q35}: Eliminate local pci_bus/pci_host variables

There is no advantage in having these local variables which 1/ needlessly have
different identifiers in both machines and 2/ which are redundant to pcms->bus
which is almost as short.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Message-ID: <20240224135851.100361-4-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/i386/pc_piix.c
hw/i386/pc_q35.c