lkml.org 
[lkml]   [2011]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] mm: memory: remove unreachable code
Remove the unreachable code found in mm/memory.c

Signed-off-by: Maxin B. John <maxin.john@gmail.com>
---
diff --git a/mm/memory.c b/mm/memory.c
index 27f4253..d3b30af 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -3695,7 +3695,6 @@ static int __access_remote_vm(struct task_struct *tsk, struct mm_struct *mm,
if (ret <= 0)
#endif
break;
- bytes = ret;
} else {
bytes = len;
offset = addr & (PAGE_SIZE-1);

\
 
 \ /
  Last update: 2011-05-08 23:21    [W:0.057 / U:0.676 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site