From 8fbe57ce4b6e610eddc072c49f016fa76265cb77 Mon Sep 17 00:00:00 2001 From: Kazutaka YOKOTA Date: Tue, 18 May 1999 11:07:12 +0000 Subject: [PATCH] Remove unnecessary function call. --- sys/dev/kbd/kbd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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;