diff options
Diffstat (limited to 'mm/slub.c')
-rw-r--r-- | mm/slub.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -233,11 +233,6 @@ static inline void stat(const struct kmem_cache *s, enum stat_item si) | |||
233 | * Core slab cache functions | 233 | * Core slab cache functions |
234 | *******************************************************************/ | 234 | *******************************************************************/ |
235 | 235 | ||
236 | static inline struct kmem_cache_node *get_node(struct kmem_cache *s, int node) | ||
237 | { | ||
238 | return s->node[node]; | ||
239 | } | ||
240 | |||
241 | /* Verify that a pointer has an address that is valid within a slab page */ | 236 | /* Verify that a pointer has an address that is valid within a slab page */ |
242 | static inline int check_valid_pointer(struct kmem_cache *s, | 237 | static inline int check_valid_pointer(struct kmem_cache *s, |
243 | struct page *page, const void *object) | 238 | struct page *page, const void *object) |