summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88/cx88-video.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-03-13 13:17:11 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-03-13 13:17:11 -0300
commit0b831dcdb633365e47049c9aa5f243cce99569e5 (patch)
tree1f4adac3c92c3e671217e22f1dcb63423104aad9 /linux/drivers/media/video/cx88/cx88-video.c
parent8dedcbf12153e737c57c521a6fbf108e6f9e81d8 (diff)
downloadmediapointer-dvb-s2-0b831dcdb633365e47049c9aa5f243cce99569e5.tar.gz
mediapointer-dvb-s2-0b831dcdb633365e47049c9aa5f243cce99569e5.tar.bz2
BUG_ON() Conversion in drivers/video/media
From: Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-video.c')
-rw-r--r--linux/drivers/media/video/cx88/cx88-video.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-video.c b/linux/drivers/media/video/cx88/cx88-video.c
index 79126bc5c..4484744bc 100644
--- a/linux/drivers/media/video/cx88/cx88-video.c
+++ b/linux/drivers/media/video/cx88/cx88-video.c
@@ -392,8 +392,7 @@ static
void res_free(struct cx8800_dev *dev, struct cx8800_fh *fh, unsigned int bits)
{
struct cx88_core *core = dev->core;
- if ((fh->resources & bits) != bits)
- BUG();
+ BUG_ON((fh->resources & bits) != bits);
mutex_lock(&core->lock);
fh->resources &= ~bits;