Commit 509009cc authored by Tobias Klauser's avatar Tobias Klauser Committed by Palmer Dabbelt

riscv: remove redundant unlikely()

IS_ERR_VALUE() already implies unlikely(), so it can be omitted.
Signed-off-by: default avatarTobias Klauser <tklauser@distanz.ch>
Signed-off-by: default avatarPalmer Dabbelt <palmer@sifive.com>
parent 0b5030c8
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment