summaryrefslogtreecommitdiffstats
path: root/security/security.c
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2010-04-07 15:14:56 -0400
committerJames Morris <jmorris@namei.org>2010-04-12 12:19:15 +1000
commit0968d0060a3c885e53d453380266c7792a55d302 (patch)
treeb8511f3bf4aa4cfb21421ab5dde8346f0119dbe3 /security/security.c
parent9d5ed77dadc66a72b40419c91df942adfa55a102 (diff)
downloadlinux-0968d0060a3c885e53d453380266c7792a55d302.tar.gz
linux-0968d0060a3c885e53d453380266c7792a55d302.tar.bz2
linux-0968d0060a3c885e53d453380266c7792a55d302.zip
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>
Diffstat (limited to 'security/security.c')
-rw-r--r--security/security.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/security/security.c b/security/security.c
index c65b0bca05bb..6e5942653d4f 100644
--- a/security/security.c
+++ b/security/security.c
@@ -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);