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

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
......@@ -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)
......
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