cgroup: switch to BUG_ON()
authorNicholas Mc Guire <der.herr@hofr.at>
Sun, 26 Mar 2017 16:24:06 +0000 (18:24 +0200)
committerTejun Heo <tj@kernel.org>
Mon, 27 Mar 2017 17:59:12 +0000 (13:59 -0400)
commit75fa8e5d3b1f3f7bdafcde12e973b0faaf13f1c4
tree622a6ca78a88a7df6f6066c4ad40c283c08c6651
parent8f48cfabac57977338f5c828ed3e12fc34373c7d
cgroup: switch to BUG_ON()

Use BUG_ON() rather than an explicit if followed by BUG() for
improved readability and also consistency.

Signed-off-by: Nicholas Mc Guire <der.herr@hofr.at>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cgroup/cpuset.c