security: remove dead hook cred_commit
Unused hook. Remove. Signed-off-by: Eric Paris <eparis@redhat.com> Signed-off-by: James Morris <jmorris@namei.org>
This commit is contained in:
@@ -712,11 +712,6 @@ int security_prepare_creds(struct cred *new, const struct cred *old, gfp_t gfp)
|
||||
return security_ops->cred_prepare(new, old, gfp);
|
||||
}
|
||||
|
||||
void security_commit_creds(struct cred *new, const struct cred *old)
|
||||
{
|
||||
security_ops->cred_commit(new, old);
|
||||
}
|
||||
|
||||
void security_transfer_creds(struct cred *new, const struct cred *old)
|
||||
{
|
||||
security_ops->cred_transfer(new, old);
|
||||
|
Reference in New Issue
Block a user