Module Name:    src
Committed By:   thorpej
Date:           Mon Jan 15 20:28:56 UTC 2024

Modified Files:
        src/sys/arch/next68k/next68k: isr.c isr.h

Log Message:
G/C unused isrlink_evcnt().


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/next68k/next68k/isr.c
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/next68k/next68k/isr.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/next68k/next68k/isr.c
diff -u src/sys/arch/next68k/next68k/isr.c:1.34 src/sys/arch/next68k/next68k/isr.c:1.35
--- src/sys/arch/next68k/next68k/isr.c:1.34	Sat Jan 13 21:40:54 2024
+++ src/sys/arch/next68k/next68k/isr.c	Mon Jan 15 20:28:56 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: isr.c,v 1.34 2024/01/13 21:40:54 thorpej Exp $ */
+/*	$NetBSD: isr.c,v 1.35 2024/01/15 20:28:56 thorpej Exp $ */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: isr.c,v 1.34 2024/01/13 21:40:54 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: isr.c,v 1.35 2024/01/15 20:28:56 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -159,23 +159,6 @@ isrlink_autovec(int (*func)(void *), voi
 }
 
 /*
- * Return a pointer to the evcnt structure for
- * the specified ipl.
- */
-struct evcnt *
-isrlink_evcnt(int ipl)
-{
-
-#ifdef DIAGNOSTIC
-	if (ipl < 0 ||
-	    ipl >= (sizeof(next68k_irq_evcnt) / sizeof(struct evcnt)))
-		panic("isrlink_evcnt: bad ipl %d", ipl);
-#endif
-
-	return (&next68k_irq_evcnt[ipl]);
-}
-
-/*
  * This is the dispatcher called by the low-level
  * assembly language autovectored interrupt routine.
  */

Index: src/sys/arch/next68k/next68k/isr.h
diff -u src/sys/arch/next68k/next68k/isr.h:1.9 src/sys/arch/next68k/next68k/isr.h:1.10
--- src/sys/arch/next68k/next68k/isr.h:1.9	Sat Jan 13 21:40:54 2024
+++ src/sys/arch/next68k/next68k/isr.h	Mon Jan 15 20:28:56 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: isr.h,v 1.9 2024/01/13 21:40:54 thorpej Exp $ */
+/*	$NetBSD: isr.h,v 1.10 2024/01/15 20:28:56 thorpej Exp $ */
 
 /*
  * This file was taken from mvme68k/mvme68k/isr.h
@@ -89,7 +89,6 @@ struct isr_vectored {
 extern struct evcnt next68k_irq_evcnt[];
 
 void	isrinit(void);
-struct	evcnt *isrlink_evcnt(int);
 void	isrlink_autovec(int (*)(void *), void *, int, int, struct evcnt *);
 void	isrdispatch_autovec(struct clockframe *);
 void	netintr(void);

Reply via email to