svn commit: r282246 - head/sys/dev/kbdmux
Pedro F. Giffuni
pfg at FreeBSD.org
Wed Apr 29 20:08:04 UTC 2015
Author: pfg
Date: Wed Apr 29 20:08:03 2015
New Revision: 282246
URL: https://svnweb.freebsd.org/changeset/base/282246
Log:
Revert r281889:
The change would appease the static analyzers but it is pretty much a
no-op. I need to trust static analyzers much less, especially for the
kernel.
Requested by: jkim
Modified:
head/sys/dev/kbdmux/kbdmux.c
Modified: head/sys/dev/kbdmux/kbdmux.c
==============================================================================
--- head/sys/dev/kbdmux/kbdmux.c Wed Apr 29 19:47:18 2015 (r282245)
+++ head/sys/dev/kbdmux/kbdmux.c Wed Apr 29 20:08:03 2015 (r282246)
@@ -470,10 +470,6 @@ kbdmux_init(int unit, keyboard_t **kbdp,
KBDMUX_LOCK(state);
callout_reset(&state->ks_timo, TICKS, kbdmux_kbd_intr_timo, state);
KBDMUX_UNLOCK(state);
- } else if (needfree) {
- free(accmap, M_KBDMUX);
- free(fkeymap, M_KBDMUX);
- free(keymap, M_KBDMUX);
}
return (0);
More information about the svn-src-head
mailing list