summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorAmerigo Wang <amwang@redhat.com>2009-08-19 21:44:13 +0300
committerPekka Enberg <penberg@cs.helsinki.fi>2009-08-19 21:44:13 +0300
commit5086c389cb897c7ad66c1cacd1abb5ffebaa74b2 (patch)
treeb00fe4d4b898891c77cdb90a765cdf4299413007 /mm
parentbbff2e433e80fae72c8d00d482927d52ec19ba33 (diff)
downloadop-kernel-dev-5086c389cb897c7ad66c1cacd1abb5ffebaa74b2.zip
op-kernel-dev-5086c389cb897c7ad66c1cacd1abb5ffebaa74b2.tar.gz
SLUB: Fix some coding style issues
Signed-off-by: WANG Cong <amwang@redhat.com> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Diffstat (limited to 'mm')
-rw-r--r--mm/slub.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mm/slub.c b/mm/slub.c
index b9f1491..e4c3e3a 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -1109,8 +1109,7 @@ static struct page *allocate_slab(struct kmem_cache *s, gfp_t flags, int node)
}
if (kmemcheck_enabled
- && !(s->flags & (SLAB_NOTRACK | DEBUG_DEFAULT_FLAGS)))
- {
+ && !(s->flags & (SLAB_NOTRACK | DEBUG_DEFAULT_FLAGS))) {
int pages = 1 << oo_order(oo);
kmemcheck_alloc_shadow(page, oo_order(oo), flags, node);
@@ -2001,7 +2000,7 @@ static inline int calculate_order(int size)
return order;
fraction /= 2;
}
- min_objects --;
+ min_objects--;
}
/*
OpenPOWER on IntegriCloud