Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
	}