]> 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>
Thu, 20 Sep 2012 07:05:27 +0000 (17:05 +1000)
commit6645fba7c99371d67e03d4d00634dea55c882e20
treeaa2e3ee0f2f9c2c7082dca2efa04a973755d3a16
parent798cc272b8c3029ff9281cafc86b26086a9842f0
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