Module Name:    src
Committed By:   skrll
Date:           Sun Dec  5 10:27:50 UTC 2010

Modified Files:
        src/sys/arch/hp700/hp700: intr.c intr.h

Log Message:
G/C unused  _hp700_intr_spl_mask


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/hp700/hp700/intr.c
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/hp700/hp700/intr.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/hp700/hp700/intr.c
diff -u src/sys/arch/hp700/hp700/intr.c:1.27 src/sys/arch/hp700/hp700/intr.c:1.28
--- src/sys/arch/hp700/hp700/intr.c:1.27	Sun Dec  5 10:11:46 2010
+++ src/sys/arch/hp700/hp700/intr.c	Sun Dec  5 10:27:50 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: intr.c,v 1.27 2010/12/05 10:11:46 skrll Exp $	*/
+/*	$NetBSD: intr.c,v 1.28 2010/12/05 10:27:50 skrll Exp $	*/
 /*	$OpenBSD: intr.c,v 1.27 2009/12/31 12:52:35 jsing Exp $	*/
 
 /*
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.27 2010/12/05 10:11:46 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.28 2010/12/05 10:27:50 skrll Exp $");
 
 #define __MUTEX_PRIVATE
 
@@ -254,17 +254,6 @@
 }
 
 /*
- * This return the single-bit spl mask for an interrupt.  This can only be
- * called immediately after hp700_intr_establish, and is not intended for wide
- * use.
- */
-int
-_hp700_intr_spl_mask(void *_int_bit)
-{
-	return ((struct hp700_int_bit *) _int_bit)->int_bit_spl;
-}
-
-/*
  * This finally initializes interrupts.
  */
 void

Index: src/sys/arch/hp700/hp700/intr.h
diff -u src/sys/arch/hp700/hp700/intr.h:1.11 src/sys/arch/hp700/hp700/intr.h:1.12
--- src/sys/arch/hp700/hp700/intr.h:1.11	Sun Dec  5 10:21:18 2010
+++ src/sys/arch/hp700/hp700/intr.h	Sun Dec  5 10:27:50 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: intr.h,v 1.11 2010/12/05 10:21:18 skrll Exp $	*/
+/*	$NetBSD: intr.h,v 1.12 2010/12/05 10:27:50 skrll Exp $	*/
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -88,6 +88,5 @@
 	    struct hp700_int_reg *, int);
 int	hp700_intr_allocate_bit(struct hp700_int_reg *);
 int	_hp700_intr_ipl_next(void);
-int	_hp700_intr_spl_mask(void *);
 void	hp700_intr_init(void);
 void	hp700_intr_dispatch(int, int, struct trapframe *);

Reply via email to