Remove unnecessary function call.

This commit is contained in:
Kazutaka YOKOTA 1999-05-18 11:07:12 +00:00
parent 83fc7c6ced
commit 8fbe57ce4b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=47294

View File

@ -23,7 +23,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * 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" #include "kbd.h"
@ -462,7 +462,6 @@ kbd_detach(dev_t dev, keyboard_t *kbd, struct cdevsw *cdevsw)
return EINVAL; return EINVAL;
s = spltty(); s = spltty();
(*kbdsw[kbd->kb_index]->term)(kbd);
kbdcdevsw[kbd->kb_index] = NULL; kbdcdevsw[kbd->kb_index] = NULL;
splx(s); splx(s);
return 0; return 0;