diff options
Diffstat (limited to 'security/security.c')
-rw-r--r-- | security/security.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/security/security.c b/security/security.c index c4507ce2a5a0..2c0a5876b939 100644 --- a/security/security.c +++ b/security/security.c | |||
@@ -895,7 +895,7 @@ EXPORT_SYMBOL(security_secctx_to_secid); | |||
895 | 895 | ||
896 | void security_release_secctx(char *secdata, u32 seclen) | 896 | void security_release_secctx(char *secdata, u32 seclen) |
897 | { | 897 | { |
898 | return security_ops->release_secctx(secdata, seclen); | 898 | security_ops->release_secctx(secdata, seclen); |
899 | } | 899 | } |
900 | EXPORT_SYMBOL(security_release_secctx); | 900 | EXPORT_SYMBOL(security_release_secctx); |
901 | 901 | ||
@@ -1012,12 +1012,12 @@ int security_sk_alloc(struct sock *sk, int family, gfp_t priority) | |||
1012 | 1012 | ||
1013 | void security_sk_free(struct sock *sk) | 1013 | void security_sk_free(struct sock *sk) |
1014 | { | 1014 | { |
1015 | return security_ops->sk_free_security(sk); | 1015 | security_ops->sk_free_security(sk); |
1016 | } | 1016 | } |
1017 | 1017 | ||
1018 | void security_sk_clone(const struct sock *sk, struct sock *newsk) | 1018 | void security_sk_clone(const struct sock *sk, struct sock *newsk) |
1019 | { | 1019 | { |
1020 | return security_ops->sk_clone_security(sk, newsk); | 1020 | security_ops->sk_clone_security(sk, newsk); |
1021 | } | 1021 | } |
1022 | 1022 | ||
1023 | void security_sk_classify_flow(struct sock *sk, struct flowi *fl) | 1023 | void security_sk_classify_flow(struct sock *sk, struct flowi *fl) |