riscv: remove redundant unlikely()

IS_ERR_VALUE() already implies unlikely(), so it can be omitted.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
This commit is contained in:
Tobias Klauser 2018-01-22 13:44:02 +01:00 committed by Palmer Dabbelt
parent 0b5030c8c0
commit 509009ccfa
No known key found for this signature in database
GPG Key ID: EF4CA1502CCBAB41
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ int arch_setup_additional_pages(struct linux_binprm *bprm,
down_write(&mm->mmap_sem);
vdso_base = get_unmapped_area(NULL, 0, vdso_len, 0, 0);
if (unlikely(IS_ERR_VALUE(vdso_base))) {
if (IS_ERR_VALUE(vdso_base)) {
ret = vdso_base;
goto end;
}