From c92331bf04598445230e9abb5e293dacc6904240 Mon Sep 17 00:00:00 2001 From: Bernhard Beschow Date: Sun, 12 Jun 2022 21:28:00 +0200 Subject: hw/pci-host/i440fx: Remove unused parameter from i440fx_init() pi440fx_state is an out-parameter which is never read by the caller. Signed-off-by: Bernhard Beschow Reviewed-by: Mark Cave-Ayland Message-Id: <20220612192800.40813-1-shentey@gmail.com> Signed-off-by: Laurent Vivier --- include/hw/pci-host/i440fx.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') diff --git a/include/hw/pci-host/i440fx.h b/include/hw/pci-host/i440fx.h index f068aaba8f..52518dbf08 100644 --- a/include/hw/pci-host/i440fx.h +++ b/include/hw/pci-host/i440fx.h @@ -36,7 +36,6 @@ struct PCII440FXState { #define TYPE_IGD_PASSTHROUGH_I440FX_PCI_DEVICE "igd-passthrough-i440FX" PCIBus *i440fx_init(const char *host_type, const char *pci_type, - PCII440FXState **pi440fx_state, MemoryRegion *address_space_mem, MemoryRegion *address_space_io, ram_addr_t ram_size, -- cgit v1.2.3-55-g7522