projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16a1a66
)
m68k: Delete an unnecessary variable assignment in sys_cacheflush()
author
Markus Elfring
<elfring@users.sourceforge.net>
Wed, 18 Jan 2017 16:07:52 +0000
(17:07 +0100)
committer
Geert Uytterhoeven
<geert@linux-m68k.org>
Thu, 9 Feb 2017 13:18:20 +0000
(14:18 +0100)
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>
arch/m68k/kernel/sys_m68k.c
patch
|
blob
|
history
diff --git
a/arch/m68k/kernel/sys_m68k.c
b/arch/m68k/kernel/sys_m68k.c
index
98a2daa
..
933e481
100644
(file)
--- a/
arch/m68k/kernel/sys_m68k.c
+++ b/
arch/m68k/kernel/sys_m68k.c
@@
-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(¤t->mm->mmap_sem);
vma = find_vma(current->mm, addr);
if (!vma || addr < vma->vm_start || addr + len > vma->vm_end)