mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
Remove unnecessary function call.
This commit is contained in:
parent
83fc7c6ced
commit
8fbe57ce4b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=47294
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user