From 34fbfbec8c601422197c457f45a96966a9857c0f Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Sat, 6 Jul 2024 10:39:51 +0000 Subject: remove ampintc_intr_string(), unused on arm64 ok mlarkin@ kettenis@ --- sys/arch/arm64/dev/ampintc.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'sys') diff --git a/sys/arch/arm64/dev/ampintc.c b/sys/arch/arm64/dev/ampintc.c index 3c0ccb8ed47..b9b29158e66 100644 --- a/sys/arch/arm64/dev/ampintc.c +++ b/sys/arch/arm64/dev/ampintc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ampintc.c,v 1.31 2023/09/22 01:10:43 jsg Exp $ */ +/* $OpenBSD: ampintc.c,v 1.32 2024/07/06 10:39:50 jsg Exp $ */ /* * Copyright (c) 2007,2009,2011 Dale Rahn * @@ -185,7 +185,6 @@ void *ampintc_intr_establish_fdt(void *, int *, int, struct cpu_info *, int (*)(void *), void *, char *); void ampintc_intr_disestablish(void *); void ampintc_irq_handler(void *); -const char *ampintc_intr_string(void *); uint32_t ampintc_iack(void); void ampintc_eoi(uint32_t); void ampintc_set_priority(int, int); @@ -897,16 +896,6 @@ ampintc_intr_disestablish(void *cookie) free(ih, M_DEVBUF, sizeof(*ih)); } -const char * -ampintc_intr_string(void *cookie) -{ - struct intrhand *ih = (struct intrhand *)cookie; - static char irqstr[1 + sizeof("ampintc irq ") + 4]; - - snprintf(irqstr, sizeof irqstr, "ampintc irq %d", ih->ih_irq); - return irqstr; -} - /* * GICv2m frame controller for MSI interrupts. */ -- cgit v1.2.3