proc_sysctl.c: use BUG_ON instead of BUG
authorPrasad Joshi <[email protected]>
Fri, 5 Oct 2012 00:15:45 +0000 (17:15 -0700)
committerLinus Torvalds <[email protected]>
Fri, 5 Oct 2012 18:05:18 +0000 (03:05 +0900)
commitab4a1f247003ad146c1a1067b2ba043922d0dff2
tree809e01b3b9e2c36f74ffece42750211b594a48e8
parent17baa2a2c40f2f0330d25819b589a515d36b2d40
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/proc/proc_sysctl.c