staging: erofs: remove redundant unlikely annotation in unzip_vle.c
authorChengguang Xu <cgxu519@gmx.com>
Tue, 12 Feb 2019 03:24:23 +0000 (11:24 +0800)
committerGreg 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

index 29b3b1d..2b5951f 100644 (file)
@@ -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,