]> 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, 21 Sep 2012 01:03:27 +0000 (11:03 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 24 Sep 2012 13:45:35 +0000 (23:45 +1000)
commit58e62ed5b22a218d5003d35d3cac32400b34ae9e
tree2ae8fbeba0dcf78c12839bec368d86fec6d543f2
parent34ddf38cd2f3a80c8d0093e8a586756dbf0affc2
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