Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic nuke bogus use of s = spl0() / splx(s). reviewed...
details: https://anonhg.NetBSD.org/src/rev/783e093aba46
branches: trunk
changeset: 487514:783e093aba46
user: cgd <cgd%NetBSD.org@localhost>
date: Thu Jun 08 22:43:15 2000 +0000
description:
nuke bogus use of s = spl0() / splx(s). reviewed by Jason Thorpe.
diffstat:
sys/dev/ic/rrunner.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diffs (33 lines):
diff -r 8779f4e542b2 -r 783e093aba46 sys/dev/ic/rrunner.c
--- a/sys/dev/ic/rrunner.c Thu Jun 08 22:33:53 2000 +0000
+++ b/sys/dev/ic/rrunner.c Thu Jun 08 22:43:15 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rrunner.c,v 1.15 2000/03/30 12:45:31 augustss Exp $ */
+/* $NetBSD: rrunner.c,v 1.16 2000/06/08 22:43:15 cgd Exp $ */
/*
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -3161,7 +3161,6 @@
u_int32_t offset;
u_int32_t length;
int error = 0;
- int s = 0;
int i;
/*
@@ -3267,7 +3266,6 @@
if (cmd == EIOCSEEPROM) {
printf("%s: writing EEPROM\n", sc->sc_dev.dv_xname);
sc->sc_flags |= ESH_FL_EEPROM_BUSY;
- s = spl0();
}
/* Do that EEPROM voodoo that you do so well... */
@@ -3317,7 +3315,6 @@
if (cmd == EIOCSEEPROM) {
sc->sc_flags &= ~ESH_FL_EEPROM_BUSY;
wakeup((void *)&sc->sc_flags);
- splx(s);
printf("%s: done writing EEPROM\n",
sc->sc_dev.dv_xname);
}
Home |
Main Index |
Thread Index |
Old Index