percpu: percpu_counter_initialized can be boolean
authorguoyayun <guoyayun@cmss.chinamobile.com>
Fri, 15 Dec 2017 06:48:32 +0000 (14:48 +0800)
committerTejun Heo <tj@kernel.org>
Fri, 15 Dec 2017 13:28:06 +0000 (05:28 -0800)
commit85dcbba3b8b15c17d3237695440d09d12825184d
tree0148319b26f1b07033d4c6a644dd80941d98a05b
parent032b4cc8ff84490c4bc7c4ef8c91e6d83a637538
percpu: percpu_counter_initialized can be boolean

This patch makes percpu_counter_initialized return bool due to this
particular function only using either one or zero as its return
value.

No functional change.

Signed-off-by: guoyayun <guoyayun@cmss.chinamobile.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
include/linux/percpu_counter.h