diff options
author | Thomas Nordin <nordin@cvs.openbsd.org> | 2002-02-15 20:45:33 +0000 |
---|---|---|
committer | Thomas Nordin <nordin@cvs.openbsd.org> | 2002-02-15 20:45:33 +0000 |
commit | 80edccbe704914e50445ba06dae9916169da06df (patch) | |
tree | e583a7e97e91aee6d5d1098a86c0a7e7083bd388 /sys/dev/ic | |
parent | 78c35609b8864cbec8390402ff594ea2b49873b2 (diff) |
Don't cast nonexistent return value from splx to (void). ok art@
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/dc.c | 8 | ||||
-rw-r--r-- | sys/dev/ic/fxp.c | 4 | ||||
-rw-r--r-- | sys/dev/ic/rtl81x9.c | 6 | ||||
-rw-r--r-- | sys/dev/ic/xl.c | 6 |
4 files changed, 12 insertions, 12 deletions
diff --git a/sys/dev/ic/dc.c b/sys/dev/ic/dc.c index 2f1c367faa4..036d3ccde75 100644 --- a/sys/dev/ic/dc.c +++ b/sys/dev/ic/dc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dc.c,v 1.44 2001/12/13 17:43:02 nate Exp $ */ +/* $OpenBSD: dc.c,v 1.45 2002/02/15 20:45:31 nordin Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -2804,7 +2804,7 @@ void dc_init(xsc) printf("dc%d: initialization failed: no " "memory for rx buffers\n", sc->dc_unit); dc_stop(sc); - (void)splx(s); + splx(s); return; } @@ -2859,7 +2859,7 @@ void dc_init(xsc) ifp->if_flags |= IFF_RUNNING; ifp->if_flags &= ~IFF_OACTIVE; - (void)splx(s); + splx(s); timeout_set(&sc->dc_tick_tmo, dc_tick, sc); @@ -3019,7 +3019,7 @@ int dc_ioctl(ifp, command, data) break; } - (void)splx(s); + splx(s); return(error); } diff --git a/sys/dev/ic/fxp.c b/sys/dev/ic/fxp.c index bc1f57e079b..9488d50df62 100644 --- a/sys/dev/ic/fxp.c +++ b/sys/dev/ic/fxp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fxp.c,v 1.30 2001/11/06 19:53:18 miod Exp $ */ +/* $OpenBSD: fxp.c,v 1.31 2002/02/15 20:45:31 nordin Exp $ */ /* $NetBSD: if_fxp.c,v 1.2 1997/06/05 02:01:55 thorpej Exp $ */ /* @@ -1548,7 +1548,7 @@ fxp_ioctl(ifp, command, data) default: error = EINVAL; } - (void) splx(s); + splx(s); return (error); } 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); } diff --git a/sys/dev/ic/xl.c b/sys/dev/ic/xl.c index f0d053ea8d1..50050e42c4f 100644 --- a/sys/dev/ic/xl.c +++ b/sys/dev/ic/xl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xl.c,v 1.33 2002/01/25 05:44:06 nordin Exp $ */ +/* $OpenBSD: xl.c,v 1.34 2002/02/15 20:45:31 nordin Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -2099,7 +2099,7 @@ void xl_init(xsc) ifp->if_flags |= IFF_RUNNING; ifp->if_flags &= ~IFF_OACTIVE; - (void)splx(s); + splx(s); timeout_add(&sc->xl_stsup_tmo, hz); @@ -2323,7 +2323,7 @@ xl_ioctl(ifp, command, data) break; } - (void)splx(s); + splx(s); return(error); } |