From fee489f1cf3b306ba77eb7cfc2c56fd2a2dcefd3 Mon Sep 17 00:00:00 2001
From: Denys Vlasenko <dvlasenk@redhat.com>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] mm/slub.c: Deinline check_valid_pointer, save 176 bytes

This function compiles to 111 bytes of machine code.

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
---
 mm/slub.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/slub.c b/mm/slub.c
index f614b5d..f04e4a3 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -225,7 +225,7 @@ static inline void stat(const struct kmem_cache *s, enum stat_item si)
  *******************************************************************/
 
 /* Verify that a pointer has an address that is valid within a slab page */
-static inline int check_valid_pointer(struct kmem_cache *s,
+static int check_valid_pointer(struct kmem_cache *s,
 				struct page *page, const void *object)
 {
 	void *base;
-- 
2.1.0

