summaryrefslogtreecommitdiff
path: root/drivers/staging/erofs
diff options
context:
space:
mode:
authorHariprasad Kelam <hariprasad.kelam@gmail.com>2019-06-08 12:39:37 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-09 14:07:23 +0300
commit308f9df30bc49b5b0002c9664863f5b5e0ad9265 (patch)
tree6281e17b54b0950d54485df3e5584757b7b3d55d /drivers/staging/erofs
parent5555ebbbac822b4fa28db2be15aaf98b3c21af26 (diff)
downloadlinux-308f9df30bc49b5b0002c9664863f5b5e0ad9265.tar.xz
staging: erofs: fix warning Comparison to bool
fix below warnings reported by coccicheck drivers/staging/erofs/unzip_vle.c:332:11-18: WARNING: Comparison to bool Signed-off-by: Hariprasad Kelam <hariprasad.kelam@gmail.com> Reviewed-by: Gao Xiang <gaoxiang25@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/erofs')
-rw-r--r--drivers/staging/erofs/unzip_vle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/erofs/unzip_vle.c b/drivers/staging/erofs/unzip_vle.c
index 9ecaa872bae8..f3d0d2c03939 100644
--- a/drivers/staging/erofs/unzip_vle.c
+++ b/drivers/staging/erofs/unzip_vle.c
@@ -329,7 +329,7 @@ try_to_claim_workgroup(struct z_erofs_vle_workgroup *grp,
z_erofs_vle_owned_workgrp_t *owned_head,
bool *hosted)
{
- DBG_BUGON(*hosted == true);
+ DBG_BUGON(*hosted);
/* let's claim these following types of workgroup */
retry: