diff --git a/mm/slab.c b/mm/slab.c index f8b0d539b4822af7812c8f9edcb51224450f3f64..cb6ce2dfc7cf4d8819309110a302e560fd9745cf 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -517,7 +517,6 @@ static bool slab_max_order_set __initdata; static inline struct kmem_cache *page_get_cache(struct page *page) { - page = compound_head(page); BUG_ON(!PageSlab(page)); return page->slab_cache; }