BUG_ON() Conversion in drivers/char
authorEric Sesterhenn <snakebyte@gmx.de>
Sun, 26 Mar 2006 16:17:21 +0000 (18:17 +0200)
committerAdrian Bunk <bunk@stusta.de>
Sun, 26 Mar 2006 16:17:21 +0000 (18:17 +0200)
commit56ee48277fa214b3b7b0fd91e7fd3464e12597de
tree58068d7f6ccf295aa8dc10a131e34fc9fe3c3528
parent373ebfbf17a8ecad304f65cb92c4d2d10adc0a19
BUG_ON() Conversion in drivers/char

this changes if() BUG(); constructs to BUG_ON() which is
cleaner, contains unlikely() and can better optimized away.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
drivers/char/epca.c
drivers/char/tty_io.c