[PATCH 1/4] goldfish: remove unused gf_write_dma_addr()

From: Jiri Slaby (SUSE)

Date: Fri Jul 03 2026 - 04:51:56 EST


The last user was removed in 2020 by commit c869eaa617e4 ("drivers:
staging: retire drivers/staging/goldfish").

Drop it.

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@xxxxxxxxxx>
---
include/linux/goldfish.h | 11 -----------
1 file changed, 11 deletions(-)

diff --git a/include/linux/goldfish.h b/include/linux/goldfish.h
index bcc17f95b906..40a059e03d78 100644
--- a/include/linux/goldfish.h
+++ b/include/linux/goldfish.h
@@ -26,15 +26,4 @@ static inline void gf_write_ptr(const void *ptr, void __iomem *portl,
#endif
}

-static inline void gf_write_dma_addr(const dma_addr_t addr,
- void __iomem *portl,
- void __iomem *porth)
-{
- gf_iowrite32(lower_32_bits(addr), portl);
-#ifdef CONFIG_ARCH_DMA_ADDR_T_64BIT
- gf_iowrite32(upper_32_bits(addr), porth);
-#endif
-}
-
-
#endif /* __LINUX_GOLDFISH_H */
--
2.54.0