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
This commit is contained in:
parent
8f96f18a1b
commit
1faac5bc09
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=282246
@ -470,10 +470,6 @@ kbdmux_init(int unit, keyboard_t **kbdp, void *arg, int flags)
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user