]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: ccree: Fix bool comparison
authorSuniel Mahesh <sunil.m@techveda.org>
Wed, 18 Oct 2017 02:10:14 +0000 (07:40 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Oct 2017 13:33:15 +0000 (15:33 +0200)
commit8fc9772543e860461d06a79cc4a3d8dcf62a40fd
treec9af57b3d3424d430a5af3877048dca27cc2fa69
parent37ba0e399c4cc8590d092e5f11b499dc372f75a4
staging: ccree: Fix bool comparison

Comparision operator "equal to" not required on a variable
"foo" of type "bool". Bool has only two values, can be used
directly or with logical not.

This fixes the following coccinelle warning:
WARNING: Comparison of bool to 0/1

Signed-off-by: Suniel Mahesh <sunil.m@techveda.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ccree/ssi_request_mgr.c