kernel/watchdog.c: is_hardlockup can be boolean
authorYaowei Bai <bywxiaobai@163.com>
Fri, 6 Nov 2015 02:44:24 +0000 (18:44 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Nov 2015 03:34:48 +0000 (19:34 -0800)
commit451637e454f0b41689cd07cdc3fa53388c22890d
treee4a957254759d4aa677b4916e2ca969e09a93cf4
parentb64787401fd85b66403dd05159a749e333059c0a
kernel/watchdog.c: is_hardlockup can be boolean

Make is_hardlockup return bool to improve readability due to this
particular function only using either one or zero as its return value.

No functional change.

Signed-off-by: Yaowei Bai <bywxiaobai@163.com>
Reviewed-by: Aaron Tomlin <atomlin@redhat.com>
Acked-by: Don Zickus <dzickus@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/watchdog.c