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: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
This commit is contained in:
Markus Elfring 2017-01-18 17:07:52 +01:00 коммит произвёл Geert Uytterhoeven
Родитель 16a1a66a5e
Коммит ecdc35c453
1 изменённых файлов: 0 добавлений и 1 удалений

Просмотреть файл

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