artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dc2c08
)
splnet() not needed in activate function
author
deraadt
<deraadt@openbsd.org>
Wed, 28 Aug 2024 03:54:54 +0000
(
03:54
+0000)
committer
deraadt
<deraadt@openbsd.org>
Wed, 28 Aug 2024 03:54:54 +0000
(
03:54
+0000)
ok gkoehler
sys/arch/macppc/dev/if_wi_obio.c
patch
|
blob
|
history
diff --git
a/sys/arch/macppc/dev/if_wi_obio.c
b/sys/arch/macppc/dev/if_wi_obio.c
index
89e91a6
..
2340855
100644
(file)
--- a/
sys/arch/macppc/dev/if_wi_obio.c
+++ b/
sys/arch/macppc/dev/if_wi_obio.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: if_wi_obio.c,v 1.2
1 2022/10/15 08:41:18 jsg Exp $
*/
+/* $OpenBSD: if_wi_obio.c,v 1.2
2 2024/08/28 03:54:54 deraadt Exp $
*/
/*
* Copyright (c) 1997, 1998, 1999
@@
-155,9
+155,7
@@
wi_obio_activate(struct device *dev, int act)
struct wi_obio_softc *psc = (struct wi_obio_softc *)dev;
struct wi_softc *sc = &psc->sc_wi;
struct ifnet *ifp = &sc->sc_ic.ic_if;
- int s;
- s = splnet();
switch (act) {
case DVACT_DEACTIVATE:
ifp->if_timer = 0;
@@
-166,7
+164,6
@@
wi_obio_activate(struct device *dev, int act)
wi_obio_disable(sc);
break;
}
- splx(s);
return (0);
}