]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - security/capability.c
security: remove dead hook key_session_to_parent
[mv-sheeva.git] / security / capability.c
index 247c04edd468b12a8568bdfe0a802559f346f723..8cc2b8f3b166816297d5f5febf551632f4bb13e3 100644 (file)
@@ -826,13 +826,6 @@ static int cap_key_getsecurity(struct key *key, char **_buffer)
        return 0;
 }
 
-static int cap_key_session_to_parent(const struct cred *cred,
-                                    const struct cred *parent_cred,
-                                    struct key *key)
-{
-       return 0;
-}
-
 #endif /* CONFIG_KEYS */
 
 #ifdef CONFIG_AUDIT
@@ -1053,7 +1046,6 @@ void security_fixup_ops(struct security_operations *ops)
        set_to_cap_if_null(ops, key_free);
        set_to_cap_if_null(ops, key_permission);
        set_to_cap_if_null(ops, key_getsecurity);
-       set_to_cap_if_null(ops, key_session_to_parent);
 #endif /* CONFIG_KEYS */
 #ifdef CONFIG_AUDIT
        set_to_cap_if_null(ops, audit_rule_init);