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_sf.c | |
parent | 78c35609b8864cbec8390402ff594ea2b49873b2 (diff) |
Don't cast nonexistent return value from splx to (void). ok art@
Diffstat (limited to 'sys/dev/pci/if_sf.c')
-rw-r--r-- | sys/dev/pci/if_sf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_sf.c b/sys/dev/pci/if_sf.c index 6d12c9c22a3..1e7a8fd8057 100644 --- a/sys/dev/pci/if_sf.c +++ b/sys/dev/pci/if_sf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_sf.c,v 1.15 2001/11/06 19:53:19 miod Exp $ */ +/* $OpenBSD: if_sf.c,v 1.16 2002/02/15 20:45:31 nordin Exp $ */ /* * Copyright (c) 1997, 1998, 1999 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved. @@ -544,7 +544,7 @@ int sf_ioctl(ifp, command, data) break; } - (void)splx(s); + splx(s); return(error); } @@ -1067,7 +1067,7 @@ void sf_init(xsc) if (sf_init_rx_ring(sc) == ENOBUFS) { printf("sf%d: initialization failed: no " "memory for rx buffers\n", sc->sf_unit); - (void)splx(s); + splx(s); return; } |