projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fadcdc
)
staging: erofs: remove redundant unlikely annotation in unzip_vle.c
author
Chengguang Xu
<cgxu519@gmx.com>
Tue, 12 Feb 2019 03:24:23 +0000
(11:24 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 12 Feb 2019 09:45:45 +0000
(10:45 +0100)
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>
drivers/staging/erofs/unzip_vle.c
patch
|
blob
|
history
diff --git
a/drivers/staging/erofs/unzip_vle.c
b/drivers/staging/erofs/unzip_vle.c
index
29b3b1d
..
2b5951f
100644
(file)
--- 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,