]> git.kernelconcepts.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>
Mon, 10 Sep 2012 06:18:25 +0000 (16:18 +1000)
commit7e56472576a10126e3d13b6ef80a38436e5940a1
tree1ecfa37143e3ad6e8b986376b667babeacfccbab
parentd97347dd27a8b96f57558bf78e87a64222441b86
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