userns: Remove unnecessary cast to struct user_struct when copying cred->user.
authorEric W. Biederman <ebiederm@xmission.com>
Sun, 4 Mar 2012 02:58:11 +0000 (18:58 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Sat, 7 Apr 2012 23:55:05 +0000 (16:55 -0700)
In struct cred the user member is and has always been declared struct user_struct *user.
At most a constant struct cred will have a constant pointer to non-constant user_struct
so remove this unnecessary cast.

Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>

No differences found