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

Commit ecdc35c4 authored by Markus Elfring's avatar Markus Elfring Committed by Geert Uytterhoeven
Browse files

m68k: Delete an unnecessary variable assignment in sys_cacheflush()



Delete an assignment for the local variable "ret" in an if branch
because it was initialised by the same value.

Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
parent 16a1a66a
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -398,7 +398,6 @@ sys_cacheflush (unsigned long addr, int scope, int cache, unsigned long len)
		 * Verify that the specified address region actually belongs
		 * to this process.
		 */
		ret = -EINVAL;
		down_read(&current->mm->mmap_sem);
		vma = find_vma(current->mm, addr);
		if (!vma || addr < vma->vm_start || addr + len > vma->vm_end)