aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1993-07-27 10:52:31 +0000
committerDavid Greenman <dg@FreeBSD.org>1993-07-27 10:52:31 +0000
commit269312019a13a34b73e2c761145aa9166105f4e5 (patch)
treef74d745c1c162578afcb421239425fdd31e58e8a /sys/dev
parentaf7f5fbec060109f39032bc0aa43a722b22d32c1 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ed/if_ed.c5
-rw-r--r--sys/dev/speaker/spkr.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/ed/if_ed.c b/sys/dev/ed/if_ed.c
index b07b752da892..4a693efa3756 100644
--- a/sys/dev/ed/if_ed.c
+++ b/sys/dev/ed/if_ed.c
@@ -17,6 +17,9 @@
* Modification history
*
* $Log: if_ed.c,v $
+ * Revision 1.18 93/07/27 03:41:36 davidg
+ * removed unnecessary variable assignment in ed_reset()
+ *
* Revision 1.17 93/07/26 18:40:57 davidg
* Added include of systm.h to pick up inlined min/max/bcmp if you have
* them in cpufunc.h. Modified wait loop in reset to look a little better.
@@ -798,7 +801,7 @@ ed_reset(unit)
ed_stop(unit);
ed_init(unit);
- s = splx(s);
+ (void) splx(s);
}
/*
diff --git a/sys/dev/speaker/spkr.c b/sys/dev/speaker/spkr.c
index ffeec08fe5dd..04feb2f88493 100644
--- a/sys/dev/speaker/spkr.c
+++ b/sys/dev/speaker/spkr.c
@@ -12,6 +12,7 @@
#if NSPEAKER > 0
#include "param.h"
+#include "systm.h"
#include "kernel.h"
#include "errno.h"
#include "buf.h"