summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-07-06 10:39:51 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-07-06 10:39:51 +0000
commit34fbfbec8c601422197c457f45a96966a9857c0f (patch)
treef5a3f4640c0259f1cbb671cd4cd334027e485485 /sys
parent81d2292b9f25d0f389a76b194a4b3a9c73713ddc (diff)
remove ampintc_intr_string(), unused on arm64
ok mlarkin@ kettenis@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/arm64/dev/ampintc.c13
1 files changed, 1 insertions, 12 deletions
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 <drahn@openbsd.org>
*
@@ -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.
*/