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/pci/if_sk.c | |
parent | 78c35609b8864cbec8390402ff594ea2b49873b2 (diff) |
Don't cast nonexistent return value from splx to (void). ok art@
Diffstat (limited to 'sys/dev/pci/if_sk.c')
-rw-r--r-- | sys/dev/pci/if_sk.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_sk.c b/sys/dev/pci/if_sk.c index 85e2a052341..8f8b3748296 100644 --- a/sys/dev/pci/if_sk.c +++ b/sys/dev/pci/if_sk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_sk.c,v 1.20 2002/01/11 01:31:21 nordin Exp $ */ +/* $OpenBSD: if_sk.c,v 1.21 2002/02/15 20:45:31 nordin Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000 @@ -749,7 +749,7 @@ sk_ioctl(ifp, command, data) break; } - (void)splx(s); + splx(s); return(error); } @@ -1889,7 +1889,7 @@ void sk_init(xsc) printf("%s: initialization failed: no " "memory for rx buffers\n", sc_if->sk_dev.dv_xname); sk_stop(sc_if); - (void)splx(s); + splx(s); return; } sk_init_tx_ring(sc_if); |