svn commit: r367722 - head/sys/arm64/freescale/imx
Emmanuel Vadot
manu at FreeBSD.org
Mon Nov 16 11:54:39 UTC 2020
Author: manu
Date: Mon Nov 16 11:54:38 2020
New Revision: 367722
URL: https://svnweb.freebsd.org/changeset/base/367722
Log:
imx7gpc: Remove unused functions
Modified:
head/sys/arm64/freescale/imx/imx7gpc.c
Modified: head/sys/arm64/freescale/imx/imx7gpc.c
==============================================================================
--- head/sys/arm64/freescale/imx/imx7gpc.c Mon Nov 16 11:53:36 2020 (r367721)
+++ head/sys/arm64/freescale/imx/imx7gpc.c Mon Nov 16 11:54:38 2020 (r367722)
@@ -59,20 +59,6 @@ static struct ofw_compat_data compat_data[] = {
{ NULL, 0}
};
-static inline uint32_t
-imx7gpc_read_4(struct imx7gpc_softc *sc, int reg)
-{
-
- return (bus_read_4(sc->memres, reg));
-}
-
-static inline void
-imx7gpc_write_4(struct imx7gpc_softc *sc, int reg, uint32_t val)
-{
-
- bus_write_4(sc->memres, reg, val);
-}
-
static int
imx7gpc_activate_intr(device_t dev, struct intr_irqsrc *isrc,
struct resource *res, struct intr_map_data *data)
More information about the svn-src-head
mailing list