sched: Remove a stale comment
authorLi Zefan <lizf@cn.fujitsu.com>
Mon, 10 May 2010 03:24:27 +0000 (11:24 +0800)
committerIngo Molnar <mingo@elte.hu>
Mon, 10 May 2010 06:48:39 +0000 (08:48 +0200)
This comment should have been removed together with uids_mutex
when removing user sched.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Dhaval Giani <dhaval.giani@gmail.com>
LKML-Reference: <4BE77C6B.5010402@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/user.c

index 8e1c8c0a496c14e7b154ed2d53a10ef6eb3b34b2..7e72614b736d82dd108d99ab79daefa55e6cdfe3 100644 (file)
@@ -136,7 +136,6 @@ struct user_struct *alloc_uid(struct user_namespace *ns, uid_t uid)
        struct hlist_head *hashent = uidhashentry(ns, uid);
        struct user_struct *up, *new;
 
-       /* Make uid_hash_find() + uid_hash_insert() atomic. */
        spin_lock_irq(&uidhash_lock);
        up = uid_hash_find(uid, hashent);
        spin_unlock_irq(&uidhash_lock);