summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lameter <cl@linux.com>2012-06-13 10:24:53 -0500
committerPekka Enberg <penberg@kernel.org>2012-06-14 09:19:50 +0300
commit690d5777392180fdc05a82c0c7979e50e8d93de8 (patch)
tree5c195868e23cd57e7ec611597243ffda5354435f
parentb8c24c4aef94b1f0daafb450363fef13a1163780 (diff)
slob: No need to zero mapping since it is no longer in use
Reviewed-by: Joonsoo Kim <js1304@gmail.com> Acked-by: David Rientjes <rientjes@google.com> Signed-off-by: Christoph Lameter <cl@linux.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
-rw-r--r--mm/slob.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/slob.c b/mm/slob.c
index 30862a2d56a9..74c3bb25f640 100644
--- a/mm/slob.c
+++ b/mm/slob.c
@@ -97,7 +97,6 @@ typedef struct slob_block slob_t;
static inline void free_slob_page(struct page *sp)
{
reset_page_mapcount(sp);
- sp->mapping = NULL;
}
/*