mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-20 16:30:53 +00:00
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:
parent
0b5030c8c0
commit
509009ccfa
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user