From adf1373bbf890e873380626cdc7aaf71d6c01053 Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Tue, 6 Apr 2010 23:19:56 +0000 Subject: voicebus: Change WARN_ON_ONCE to BUG_ON. WARN_ON_ONCE is not defined in 2.6.9, and this condition would be catastrophic anyway if it were to occur. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8494 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- drivers/dahdi/voicebus/voicebus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dahdi/voicebus/voicebus.c b/drivers/dahdi/voicebus/voicebus.c index a3fb42e..51b5c34 100644 --- a/drivers/dahdi/voicebus/voicebus.c +++ b/drivers/dahdi/voicebus/voicebus.c @@ -1284,7 +1284,7 @@ static void vb_tasklet_normal(unsigned long data) int count = DEFAULT_COUNT; u32 des0 = 0; - WARN_ON_ONCE(NORMAL != vb->mode); + BUG_ON(NORMAL != vb->mode); /* First, temporarily store any non-idle buffers that the hardware has * indicated it's finished transmitting. Non idle buffers are those * buffers that contain actual data and was filled out by the client -- cgit v1.2.3