Skip to content

Commit

Permalink
SLUB: Fix some coding style issues
Browse files Browse the repository at this point in the history
Signed-off-by: WANG Cong <amwang@redhat.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
  • Loading branch information
Amerigo Wang authored and Pekka Enberg committed Aug 19, 2009
1 parent bbff2e4 commit 5086c38
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mm/slub.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -2001,7 +2000,7 @@ static inline int calculate_order(int size)
return order;
fraction /= 2;
}
min_objects --;
min_objects--;
}

/*
Expand Down

0 comments on commit 5086c38

Please sign in to comment.