IB/isert: Do not excplicitly check == false for bool
authorZou Wei <zou_wei@huawei.com>
Tue, 3 Nov 2020 11:57:54 +0000 (19:57 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 12 Nov 2020 16:01:37 +0000 (12:01 -0400)
commitf7a95c902b020c7fe6781f0814187c2e2266a689
treea7adaac9646e7cfa98e5a9a711b394b78bae6bec
parentb2d2440430c0fdd5e0cad3efd6d1c9e3d3d02e5b
IB/isert: Do not excplicitly check == false for bool

It is not the kernel style, warning reported by coccicheck:

./ib_isert.c:1104:12-24: WARNING: Comparison to bool

Link: https://lore.kernel.org/r/1604404674-32998-1-git-send-email-zou_wei@huawei.com
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/ulp/isert/ib_isert.c