[PATCH 6/7] kernel/mutex: mutex_is_locked can be boolean

2017-12-14 Thread Yaowei Bai
This patch makes mutex_is_locked return bool due to this particular function only using either one or zero as its return value. No functional change. Signed-off-by: Yaowei Bai --- include/linux/mutex.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/mutex.h

[PATCH 6/7] kernel/mutex: mutex_is_locked can be boolean

2017-12-14 Thread Yaowei Bai
This patch makes mutex_is_locked return bool due to this particular function only using either one or zero as its return value. No functional change. Signed-off-by: Yaowei Bai --- include/linux/mutex.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/mutex.h