Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/hp700/hp700 G/C unused _hp700_intr_spl_mask



details:   https://anonhg.NetBSD.org/src/rev/5a79e176df38
branches:  trunk
changeset: 759305:5a79e176df38
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Dec 05 10:27:50 2010 +0000

description:
G/C unused  _hp700_intr_spl_mask

diffstat:

 sys/arch/hp700/hp700/intr.c |  15 ++-------------
 sys/arch/hp700/hp700/intr.h |   3 +--
 2 files changed, 3 insertions(+), 15 deletions(-)

diffs (52 lines):

diff -r 25354e25b272 -r 5a79e176df38 sys/arch/hp700/hp700/intr.c
--- a/sys/arch/hp700/hp700/intr.c       Sun Dec 05 10:21:18 2010 +0000
+++ b/sys/arch/hp700/hp700/intr.c       Sun Dec 05 10:27:50 2010 +0000
@@ -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
diff -r 25354e25b272 -r 5a79e176df38 sys/arch/hp700/hp700/intr.h
--- a/sys/arch/hp700/hp700/intr.h       Sun Dec 05 10:21:18 2010 +0000
+++ b/sys/arch/hp700/hp700/intr.h       Sun Dec 05 10:27:50 2010 +0000
@@ -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 *);



Home | Main Index | Thread Index | Old Index