]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
BUG_ON conversion for drivers/media/video/pwc/pwc-if.c
authorEric Sesterhenn <snakebyte@gmx.de>
Thu, 30 Nov 2006 04:26:46 +0000 (05:26 +0100)
committerAdrian Bunk <bunk@stusta.de>
Thu, 30 Nov 2006 04:26:46 +0000 (05:26 +0100)
commit5d9a276a3eb073251737cb92b790bfdb9f0b9139
tree053a95cf65cb907d9a9bb09b2dac7a36e25a1a7c
parent0779bf2d2ecc4d9b1e9437ae659f50e6776a7666
BUG_ON conversion for drivers/media/video/pwc/pwc-if.c

This patch converts a if () BUG(); construct to BUG_ON();
which occupies less space, uses unlikely and is safer when
BUG() is disabled.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
drivers/media/video/pwc/pwc-if.c