summaryrefslogtreecommitdiffstats
path: root/sys/dev/ed
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1993-07-27 10:52:31 +0000
committerdg <dg@FreeBSD.org>1993-07-27 10:52:31 +0000
commited0c2480407bece983d693e1753de8d830a5f5ba (patch)
treef74d745c1c162578afcb421239425fdd31e58e8a /sys/dev/ed
parent17f98e8cfc1b74c9d12ce4853fc1d7635a20dfb1 (diff)
downloadFreeBSD-src-ed0c2480407bece983d693e1753de8d830a5f5ba.zip
FreeBSD-src-ed0c2480407bece983d693e1753de8d830a5f5ba.tar.gz
* Applied fixes from Bruce Evans to fix COW bugs, >1MB kernel loading,
profiling, and various protection checks that cause security holes and system crashes. * Changed min/max/bcmp/ffs/strlen to be static inline functions - included from cpufunc.h in via systm.h. This change improves performance in many parts of the kernel - up to 5% in the networking layer alone. Note that this requires systm.h to be included in any file that uses these functions otherwise it won't be able to find them during the load. * Fixed incorrect call to splx() in if_is.c * Fixed bogus variable assignment to splx() in if_ed.c
Diffstat (limited to 'sys/dev/ed')
-rw-r--r--sys/dev/ed/if_ed.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/ed/if_ed.c b/sys/dev/ed/if_ed.c
index b07b752..4a693ef 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);
}
/*
OpenPOWER on IntegriCloud