aboutsummaryrefslogtreecommitdiff
path: root/sys/arm64/arm64/gic_v3_fdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arm64/arm64/gic_v3_fdt.c')
-rw-r--r--sys/arm64/arm64/gic_v3_fdt.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/sys/arm64/arm64/gic_v3_fdt.c b/sys/arm64/arm64/gic_v3_fdt.c
index b0b532a56dec..dc1445340943 100644
--- a/sys/arm64/arm64/gic_v3_fdt.c
+++ b/sys/arm64/arm64/gic_v3_fdt.c
@@ -53,7 +53,6 @@ __FBSDID("$FreeBSD$");
*/
static int gic_v3_fdt_probe(device_t);
static int gic_v3_fdt_attach(device_t);
-static int gic_v3_fdt_print_child(device_t, device_t);
static struct resource *gic_v3_ofw_bus_alloc_res(device_t, device_t, int, int *,
rman_res_t, rman_res_t, rman_res_t, u_int);
@@ -66,7 +65,6 @@ static device_method_t gic_v3_fdt_methods[] = {
DEVMETHOD(device_attach, gic_v3_fdt_attach),
/* Bus interface */
- DEVMETHOD(bus_print_child, gic_v3_fdt_print_child),
DEVMETHOD(bus_alloc_resource, gic_v3_ofw_bus_alloc_res),
DEVMETHOD(bus_activate_resource, bus_generic_activate_resource),
DEVMETHOD(bus_get_resource_list, gic_v3_fdt_get_resource_list),
@@ -210,21 +208,6 @@ struct gic_v3_ofw_devinfo {
struct resource_list di_rl;
};
-static int
-gic_v3_fdt_print_child(device_t bus, device_t child)
-{
- struct resource_list *rl;
- int retval = 0;
-
- rl = BUS_GET_RESOURCE_LIST(bus, child);
- KASSERT(rl != NULL, ("%s: No resource list", __func__));
- retval += bus_print_child_header(bus, child);
- retval += resource_list_print_type(rl, "mem", SYS_RES_MEMORY, "%#jx");
- retval += bus_print_child_footer(bus, child);
-
- return (retval);
-}
-
static const struct ofw_bus_devinfo *
gic_v3_ofw_get_devinfo(device_t bus __unused, device_t child)
{