KASSERT(!mutex_owned(...)) is not kosher.

This commit is contained in:
riastradh 2011-11-25 22:40:02 +00:00
parent 4b72d256c2
commit 6612803043
1 changed files with 2 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: pcppi.c,v 1.39 2011/11/25 14:31:44 jakllsch Exp $ */
/* $NetBSD: pcppi.c,v 1.40 2011/11/25 22:40:02 riastradh Exp $ */
/*
* Copyright (c) 1996 Carnegie-Mellon University.
@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: pcppi.c,v 1.39 2011/11/25 14:31:44 jakllsch Exp $");
__KERNEL_RCSID(0, "$NetBSD: pcppi.c,v 1.40 2011/11/25 22:40:02 riastradh Exp $");
#include "attimer.h"
@ -355,8 +355,6 @@ pcppi_pckbd_bell(void *arg, u_int pitch, u_int period, u_int volume,
int poll)
{
KASSERT(!mutex_owned(&tty_lock));
/*
* Comes in as ms, goes out at ticks; volume ignored.
*/