From: Chengguang Xu Date: Tue, 12 Feb 2019 03:24:23 +0000 (+0800) Subject: staging: erofs: remove redundant unlikely annotation in unzip_vle.c X-Git-Tag: rel_imx_5.10.35_2.0.0-somdevices.0~5215^2~81 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=209312369e6d214e6db46f46ec95413ed5a4a2d6;p=linux.git 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 Reviewed-by: Gao Xiang Signed-off-by: Greg Kroah-Hartman --- 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,