summaryrefslogtreecommitdiff
path: root/sys/dev/ic/rtl81x9.c
diff options
context:
space:
mode:
authorThomas Nordin <nordin@cvs.openbsd.org>2002-02-15 20:45:33 +0000
committerThomas Nordin <nordin@cvs.openbsd.org>2002-02-15 20:45:33 +0000
commit80edccbe704914e50445ba06dae9916169da06df (patch)
treee583a7e97e91aee6d5d1098a86c0a7e7083bd388 /sys/dev/ic/rtl81x9.c
parent78c35609b8864cbec8390402ff594ea2b49873b2 (diff)
Don't cast nonexistent return value from splx to (void). ok art@
Diffstat (limited to 'sys/dev/ic/rtl81x9.c')
-rw-r--r--sys/dev/ic/rtl81x9.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/rtl81x9.c b/sys/dev/ic/rtl81x9.c
index 265cb6523c4..dc75c027e1b 100644
--- a/sys/dev/ic/rtl81x9.c
+++ b/sys/dev/ic/rtl81x9.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtl81x9.c,v 1.12 2002/01/08 05:38:53 fgsch Exp $ */
+/* $OpenBSD: rtl81x9.c,v 1.13 2002/02/15 20:45:31 nordin Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -1028,7 +1028,7 @@ void rl_init(xsc)
ifp->if_flags |= IFF_RUNNING;
ifp->if_flags &= ~IFF_OACTIVE;
- (void)splx(s);
+ splx(s);
timeout_set(&sc->sc_tick_tmo, rl_tick, sc);
timeout_add(&sc->sc_tick_tmo, hz);
@@ -1132,7 +1132,7 @@ int rl_ioctl(ifp, command, data)
break;
}
- (void)splx(s);
+ splx(s);
return(error);
}