]> err.no Git - linux-2.6/commit
BUG_ON() Conversion in drivers/mtd/
authorEric Sesterhenn <snakebyte@gmx.de>
Sun, 26 Mar 2006 16:15:12 +0000 (18:15 +0200)
committerAdrian Bunk <bunk@stusta.de>
Sun, 26 Mar 2006 16:15:12 +0000 (18:15 +0200)
commit373ebfbf17a8ecad304f65cb92c4d2d10adc0a19
treeb2cc0bd4a1f26f38515476f436d532926b331a85
parent36ddf5bbdea7ba4582abc62f106f0f0e9f0b6b91
BUG_ON() Conversion in drivers/mtd/

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/mtd/maps/dilnetpc.c
drivers/mtd/mtd_blkdevs.c
drivers/mtd/mtdconcat.c