summaryrefslogtreecommitdiff
path: root/drivers/staging/erofs
diff options
context:
space:
mode:
authorChengguang Xu <cgxu519@gmx.com>2019-02-12 11:24:23 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-02-12 10:45:45 +0100
commit209312369e6d214e6db46f46ec95413ed5a4a2d6 (patch)
treeb15bd3de64453ab3200567b73d3d5ceeb17736a4 /drivers/staging/erofs
parent7fadcdce5d3105bf44f2665264738103b26d2e01 (diff)
staging: erofs: remove redundant unlikely annotation in unzip_vle.c
unlikely has already included in IS_ERR(), so just remove it. Signed-off-by: Chengguang Xu <cgxu519@gmx.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 29b3b1dc67f1..2b5951f233db 100644
--- a/drivers/staging/erofs/unzip_vle.c
+++ b/drivers/staging/erofs/unzip_vle.c
@@ -539,7 +539,7 @@ repeat:
if (unlikely(work == ERR_PTR(-EAGAIN)))
goto repeat;
- if (unlikely(IS_ERR(work)))
+ if (IS_ERR(work))
return PTR_ERR(work);
got_it:
z_erofs_pagevec_ctor_init(&builder->vector,