From: Amerigo Wang Date: Wed, 19 Aug 2009 18:44:13 +0000 (+0300) Subject: SLUB: Fix some coding style issues X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5086c389cb897c7ad66c1cacd1abb5ffebaa74b2;p=openwrt%2Fstaging%2Fblogic.git SLUB: Fix some coding style issues Signed-off-by: WANG Cong Signed-off-by: Pekka Enberg --- diff --git a/mm/slub.c b/mm/slub.c index b9f1491a58a1..e4c3e3a6028f 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--; } /*