From d3dc3742f0386552305ee56521f6f4207323e807 Mon Sep 17 00:00:00 2001 From: mpi Date: Wed, 8 Apr 2015 15:58:25 +0000 Subject: [PATCH] Kill unused function. --- sys/arch/macppc/macppc/machdep.c | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/sys/arch/macppc/macppc/machdep.c b/sys/arch/macppc/macppc/machdep.c index caf7b518a3c..71b0b4894c3 100644 --- a/sys/arch/macppc/macppc/machdep.c +++ b/sys/arch/macppc/macppc/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.170 2015/04/07 14:36:34 mpi Exp $ */ +/* $OpenBSD: machdep.c,v 1.171 2015/04/08 15:58:25 mpi Exp $ */ /* $NetBSD: machdep.c,v 1.4 1996/10/16 19:33:11 ws Exp $ */ /* @@ -124,8 +124,6 @@ int allowaperture = 0; void dumpsys(void); int lcsplx(int ipl); /* called from LCore */ -void ppc_intr_setup(intr_establish_t *establish, - intr_disestablish_t *disestablish); void *ppc_intr_establish(void *lcv, pci_intr_handle_t ih, int type, int level, int (*func)(void *), void *arg, const char *name); @@ -816,12 +814,6 @@ cpu_unidle(struct cpu_info *ci) } #endif -/* - * one attempt at interrupt stuff.. - * - */ -#include - int ppc_configed_intr_cnt = 0; struct intrhand ppc_configed_intr[MAX_PRECONF_INTR]; @@ -854,13 +846,6 @@ ppc_intr_establish(void *lcv, pci_intr_handle_t ih, int type, int level, intr_establish_t *intr_establish_func = (intr_establish_t *)ppc_intr_establish; intr_disestablish_t *intr_disestablish_func; -void -ppc_intr_setup(intr_establish_t *establish, intr_disestablish_t *disestablish) -{ - intr_establish_func = establish; - intr_disestablish_func = disestablish; -} - intr_send_ipi_t ppc_no_send_ipi; intr_send_ipi_t *intr_send_ipi_func = ppc_no_send_ipi; -- 2.20.1