summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_wb.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/pci/if_wb.c
parent78c35609b8864cbec8390402ff594ea2b49873b2 (diff)
Don't cast nonexistent return value from splx to (void). ok art@
Diffstat (limited to 'sys/dev/pci/if_wb.c')
-rw-r--r--sys/dev/pci/if_wb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/if_wb.c b/sys/dev/pci/if_wb.c
index c6acce95936..1d39af67bbd 100644
--- a/sys/dev/pci/if_wb.c
+++ b/sys/dev/pci/if_wb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wb.c,v 1.15 2001/11/06 19:53:19 miod Exp $ */
+/* $OpenBSD: if_wb.c,v 1.16 2002/02/15 20:45:31 nordin Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -1573,7 +1573,7 @@ void wb_init(xsc)
printf("%s: initialization failed: no "
"memory for rx buffers\n", sc->sc_dev.dv_xname);
wb_stop(sc);
- (void)splx(s);
+ splx(s);
return;
}
@@ -1624,7 +1624,7 @@ void wb_init(xsc)
ifp->if_flags |= IFF_RUNNING;
ifp->if_flags &= ~IFF_OACTIVE;
- (void)splx(s);
+ splx(s);
timeout_set(&sc->wb_tick_tmo, wb_tick, sc);
timeout_add(&sc->wb_tick_tmo, hz);
@@ -1726,7 +1726,7 @@ int wb_ioctl(ifp, command, data)
break;
}
- (void)splx(s);
+ splx(s);
return(error);
}