From 3e5f247e36631bef9cc2c35381a01f7b6e6449be Mon Sep 17 00:00:00 2001 From: Bernhard Beschow Date: Mon, 22 Aug 2022 19:02:12 +0200 Subject: hw/ide/pci: Unexport bmdma_active_if() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The function is only used inside ide/pci.c, so doesn't need to be exported. Signed-off-by: Bernhard Beschow Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20230215112712.23110-18-philmd@linaro.org> --- include/hw/ide/pci.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'include') diff --git a/include/hw/ide/pci.h b/include/hw/ide/pci.h index 2a6284a..7b5e3f6 100644 --- a/include/hw/ide/pci.h +++ b/include/hw/ide/pci.h @@ -55,12 +55,6 @@ struct PCIIDEState { MemoryRegion data_bar[2]; }; -static inline IDEState *bmdma_active_if(BMDMAState *bmdma) -{ - assert(bmdma->bus->retry_unit != (uint8_t)-1); - return bmdma->bus->ifs + bmdma->bus->retry_unit; -} - void bmdma_init(IDEBus *bus, BMDMAState *bm, PCIIDEState *d); void bmdma_cmd_writeb(BMDMAState *bm, uint32_t val); extern MemoryRegionOps bmdma_addr_ioport_ops; -- cgit v1.1