From 4b3e97d4f1d81ce9da6cee046b0a260ca8d4f115 Mon Sep 17 00:00:00 2001 From: kettenis Date: Mon, 6 Jun 2022 14:34:11 +0000 Subject: [PATCH] Remove unused prototype. Fix a whitespace issue. --- sys/arch/riscv64/dev/sfgpio.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sys/arch/riscv64/dev/sfgpio.c b/sys/arch/riscv64/dev/sfgpio.c index 1445b9a14c1..8998988390e 100644 --- a/sys/arch/riscv64/dev/sfgpio.c +++ b/sys/arch/riscv64/dev/sfgpio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sfgpio.c,v 1.1 2022/05/30 17:39:09 kettenis Exp $ */ +/* $OpenBSD: sfgpio.c,v 1.2 2022/06/06 14:34:11 kettenis Exp $ */ /* * Copyright (c) 2022 Mark Kettenis * Copyright (c) 2019 Patrick Wildt @@ -83,7 +83,7 @@ struct sfgpio_softc { int sfgpio_match(struct device *, void *, void *); void sfgpio_attach(struct device *, struct device *, void *); -const struct cfattach sfgpio_ca = { +const struct cfattach sfgpio_ca = { sizeof (struct sfgpio_softc), sfgpio_match, sfgpio_attach }; @@ -99,7 +99,6 @@ int sfgpio_intr(void *); void *sfgpio_intr_establish(void *, int *, int, struct cpu_info *, int (*)(void *), void *, char *); void sfgpio_intr_disestablish(void *); -void sfgpio_recalc_ipl(struct sfgpio_softc *); void sfgpio_intr_enable(void *); void sfgpio_intr_disable(void *); void sfgpio_intr_barrier(void *); -- 2.20.1