]> 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, 7 Sep 2012 00:25:07 +0000 (10:25 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 7 Sep 2012 05:36:36 +0000 (15:36 +1000)
commit7e7aee2ee065206751290cd9448d6b5f69b9a1e1
treedd4dda0f178774fb06f2e9180c0ff1b1839bbb02
parent442c51539f3dd7f850efb3096fb52232b1e41b1f
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