X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=kernel%2Fuser.c;h=e81978e8c03b2b5f1a38d62248d8408fbfcd2d13;hb=26466410adb2cd0f9db1d6decec198c147c80fcc;hp=57ebfd42023c373e10392848a73d42af74a37b3b;hpb=42a0a1b0fd343888c59afc8b243a77bcec2cc11c;p=karo-tx-linux.git diff --git a/kernel/user.c b/kernel/user.c index 57ebfd42023c..e81978e8c03b 100644 --- a/kernel/user.c +++ b/kernel/user.c @@ -105,9 +105,8 @@ static void uid_hash_remove(struct user_struct *up) static struct user_struct *uid_hash_find(kuid_t uid, struct hlist_head *hashent) { struct user_struct *user; - struct hlist_node *h; - hlist_for_each_entry(user, h, hashent, uidhash_node) { + hlist_for_each_entry(user, hashent, uidhash_node) { if (uid_eq(user->uid, uid)) { atomic_inc(&user->__count); return user;