From: Alexey Dobriyan Save some space because uid_hash_find() has 3 callsites. Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton --- kernel/user.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -puN kernel/user.c~userc-deinline kernel/user.c --- a/kernel/user.c~userc-deinline +++ a/kernel/user.c @@ -88,17 +88,17 @@ static void sched_switch_user(struct tas /* * These routines must be called with the uidhash spinlock held! */ -static inline void uid_hash_insert(struct user_struct *up, struct hlist_head *hashent) +static void uid_hash_insert(struct user_struct *up, struct hlist_head *hashent) { hlist_add_head(&up->uidhash_node, hashent); } -static inline void uid_hash_remove(struct user_struct *up) +static void uid_hash_remove(struct user_struct *up) { hlist_del_init(&up->uidhash_node); } -static inline struct user_struct *uid_hash_find(uid_t uid, struct hlist_head *hashent) +static struct user_struct *uid_hash_find(uid_t uid, struct hlist_head *hashent) { struct user_struct *user; struct hlist_node *h; _