summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Lameter <cl@linux.com>2012-06-13 17:24:53 +0200
committerPekka Enberg <penberg@kernel.org>2012-06-14 08:19:50 +0200
commit690d5777392180fdc05a82c0c7979e50e8d93de8 (patch)
tree5c195868e23cd57e7ec611597243ffda5354435f
parentslob: Define page struct fields used in mm_types.h (diff)
downloadlinux-690d5777392180fdc05a82c0c7979e50e8d93de8.tar.xz
linux-690d5777392180fdc05a82c0c7979e50e8d93de8.zip
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;
}
/*