* [merged] mm-remove-unncessary-ret-in-page_referenced.patch removed from -mm tree
@ 2017-05-04 19:11 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2017-05-04 19:11 UTC (permalink / raw)
To: hannes, hillf.zj, khandual, kirill.shutemov, mhocko, minchan,
mm-commits, n-horiguchi, vbabka
The patch titled
Subject: mm: remove unncessary ret in page_referenced
has been removed from the -mm tree. Its filename was
mm-remove-unncessary-ret-in-page_referenced.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Minchan Kim <minchan@kernel.org>
Subject: mm: remove unncessary ret in page_referenced
Nobody uses ret variable. Remove it.
Link: http://lkml.kernel.org/r/1489555493-14659-2-git-send-email-minchan@kernel.org
Signed-off-by: Minchan Kim <minchan@kernel.org>
Acked-by: Hillf Danton <hillf.zj@alibaba-inc.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Anshuman Khandual <khandual@linux.vnet.ibm.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/rmap.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff -puN mm/rmap.c~mm-remove-unncessary-ret-in-page_referenced mm/rmap.c
--- a/mm/rmap.c~mm-remove-unncessary-ret-in-page_referenced
+++ a/mm/rmap.c
@@ -812,7 +812,6 @@ int page_referenced(struct page *page,
struct mem_cgroup *memcg,
unsigned long *vm_flags)
{
- int ret;
int we_locked = 0;
struct page_referenced_arg pra = {
.mapcount = total_mapcount(page),
@@ -846,7 +845,7 @@ int page_referenced(struct page *page,
rwc.invalid_vma = invalid_page_referenced_vma;
}
- ret = rmap_walk(page, &rwc);
+ rmap_walk(page, &rwc);
*vm_flags = pra.vm_flags;
if (we_locked)
_
Patches currently in -mm which might be from minchan@kernel.org are
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-05-04 19:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-04 19:11 [merged] mm-remove-unncessary-ret-in-page_referenced.patch removed from -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).