]> git.karo-electronics.de Git - karo-tx-linux.git/commit
proc_sysctl.c: use BUG_ON instead of BUG
authorPrasad Joshi <prasadjoshi.linux@gmail.com>
Fri, 28 Sep 2012 00:22:17 +0000 (10:22 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 5 Oct 2012 04:01:40 +0000 (14:01 +1000)
commitcfd3b3fa727e32637941df12ad9ff17fb8165313
treed6446ef69e83f91b9c79c96cd89b0c1e346a0d2b
parentcd49346d6bfbde4729f1dd5f8ffe156811d89602
proc_sysctl.c: use BUG_ON instead of BUG

The use of if (!head) BUG(); can be replaced with the single line
BUG_ON(!head).

Signed-off-by: Prasad Joshi <prasadjoshi.linux@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/proc/proc_sysctl.c