diff --git a/sys/dev/kbd/kbd.c b/sys/dev/kbd/kbd.c index a4c07962a53c..3e51e941350c 100644 --- a/sys/dev/kbd/kbd.c +++ b/sys/dev/kbd/kbd.c @@ -23,7 +23,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: kbd.c,v 1.3 1999/01/12 12:23:00 yokota Exp $ + * $Id: kbd.c,v 1.4 1999/03/10 10:36:52 yokota Exp $ */ #include "kbd.h" @@ -462,7 +462,6 @@ kbd_detach(dev_t dev, keyboard_t *kbd, struct cdevsw *cdevsw) return EINVAL; s = spltty(); - (*kbdsw[kbd->kb_index]->term)(kbd); kbdcdevsw[kbd->kb_index] = NULL; splx(s); return 0;