]> 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>
Thu, 13 Sep 2012 01:01:30 +0000 (11:01 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 18 Sep 2012 06:04:48 +0000 (16:04 +1000)
commit1fd74f1aeabf5b7b5716f1557f31d537fcf75f48
tree92d68b0e192d48169e7684e01c4a3bd4a3d82bb1
parentfbdf25a4b6072c2f9971eb3b1cc6525794c7d2d1
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