]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
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 29b3b1dc67f11f4b99507ac039424b9047990b54..2b5951f233db9d849b8890cfff64d11d6b556b30 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,