summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2010-04-06 23:19:56 +0000
committerShaun Ruffell <sruffell@digium.com>2010-04-06 23:19:56 +0000
commitadf1373bbf890e873380626cdc7aaf71d6c01053 (patch)
tree0bdb535463ed49f7eef300008d21a858ce7f48a2
parenta88744e50a9db3252f53a1f0d9d1469e773461eb (diff)
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
-rw-r--r--drivers/dahdi/voicebus/voicebus.c2
1 files changed, 1 insertions, 1 deletions
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