summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_tl.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_tl.c
parent78c35609b8864cbec8390402ff594ea2b49873b2 (diff)
Don't cast nonexistent return value from splx to (void). ok art@
Diffstat (limited to 'sys/dev/pci/if_tl.c')
-rw-r--r--sys/dev/pci/if_tl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_tl.c b/sys/dev/pci/if_tl.c
index b61df4f93d9..c72386ebc7a 100644
--- a/sys/dev/pci/if_tl.c
+++ b/sys/dev/pci/if_tl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_tl.c,v 1.24 2001/11/06 19:53:19 miod Exp $ */
+/* $OpenBSD: if_tl.c,v 1.25 2002/02/15 20:45:31 nordin Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -1707,7 +1707,7 @@ void tl_init(xsc)
/* Send the RX go command */
CMD_SET(sc, TL_CMD_GO|TL_CMD_NES|TL_CMD_RT);
- (void)splx(s);
+ splx(s);
/* Start the stats update counter */
timeout_set(&sc->tl_stats_tmo, tl_stats_update, sc);
@@ -1849,7 +1849,7 @@ int tl_ioctl(ifp, command, data)
break;
}
- (void)splx(s);
+ splx(s);
return(error);
}