Minor cleanup. Garbage-collect unused declaration of comsoft() now

that sparc has generic soft interrupts.  In softnet() - return
immediately if netisr is zero.
This commit is contained in:
uwe 2001-10-18 12:32:25 +00:00
parent 4f72f67a5e
commit bfa2f82c18
1 changed files with 4 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: intr.c,v 1.55 2001/09/27 02:05:44 mrg Exp $ */
/* $NetBSD: intr.c,v 1.56 2001/10/18 12:32:25 uwe Exp $ */
/*
* Copyright (c) 1992, 1993
@ -71,11 +71,6 @@
#include <machine/db_machdep.h>
#endif
#include "com.h"
#if NCOM > 0
extern void comsoft __P((void));
#endif
void *softnet_cookie;
void strayintr __P((struct clockframe *));
@ -122,6 +117,9 @@ softnet(fp)
netisr = 0;
splx(s);
if (n == 0)
return;
#define DONETISR(bit, fn) do { \
if (n & (1 << bit)) \
fn(); \