]> err.no Git - linux-2.6/commit
BUG_ON() Conversion in ipc/sem.c
authorEric Sesterhenn <snakebyte@gmx.de>
Sun, 26 Mar 2006 16:28:38 +0000 (18:28 +0200)
committerAdrian Bunk <bunk@stusta.de>
Sun, 26 Mar 2006 16:28:38 +0000 (18:28 +0200)
commit27315c96a4c3d5f24a902111dae537cdc28302e4
tree15a37bd0b596fd5eb4d026df309ee6458f6049fd
parent309be53da60dc24b73f3f0bceab8f0707c05371f
BUG_ON() Conversion in ipc/sem.c

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>
ipc/sem.c