mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
security: remove dead hook cred_commit
Unused hook. Remove. Signed-off-by: Eric Paris <[email protected]> Signed-off-by: James Morris <[email protected]>
This commit is contained in:
parent
9d5ed77dad
commit
0968d0060a
4 changed files with 0 additions and 23 deletions
|
|
@ -520,8 +520,6 @@ int commit_creds(struct cred *new)
|
|||
#endif
|
||||
BUG_ON(atomic_read(&new->usage) < 1);
|
||||
|
||||
security_commit_creds(new, old);
|
||||
|
||||
get_cred(new); /* we will require a ref for the subj creds too */
|
||||
|
||||
/* dumpability changes */
|
||||
|
|
|
|||
Loading…
Reference in a new issue