include/linux/mm.h: return true in cpupid_pid_unset()
authorJason Yan <yanaijie@huawei.com>
Thu, 4 Jun 2020 23:49:49 +0000 (16:49 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 5 Jun 2020 02:06:24 +0000 (19:06 -0700)
commit2b7874490243e014112100925405c4a17a8c40aa
tree3c421e4b05809ba6e5784f1b794ce07292152671
parentfa1f68cc88f1dce6b7bb37628eb7c25c96593183
include/linux/mm.h: return true in cpupid_pid_unset()

Fix the following coccicheck warning:

  include/linux/mm.h:1371:8-9: WARNING: return of 0/1 in function 'cpupid_pid_unset' with return type bool

Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/20200422071816.48879-1-yanaijie@huawei.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mm.h