]> 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>
Wed, 26 Sep 2012 01:34:56 +0000 (11:34 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 26 Sep 2012 05:45:38 +0000 (15:45 +1000)
commit16d62b3dd13d2cdca235f4732b8a56fb43760a2a
treec38387fb913b7a8479f69af99e3f84a54c2a9d69
parent65ae7e08f5a70c8b28fcbbbe8eaea95cac2d589b
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