diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-08-02 17:37:06 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-08-02 17:37:06 -0400 |
commit | 95ce568812822931991a24147987c5c75c0ac5b0 (patch) | |
tree | ff9b281375a7e4ad9383999dc1810d9a21124021 /include/linux/security.h | |
parent | e6eb307d48c81d688804f8b39a0a3ddde3cd3458 (diff) |
[SECURITY]: Fix build with CONFIG_SECURITY disabled.
include/linux/security.h: In function ‘security_release_secctx’:
include/linux/security.h:2757: warning: ‘return’ with a value, in function returning void
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/security.h')
-rw-r--r-- | include/linux/security.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/security.h b/include/linux/security.h index aa5b8043dc38..6bc2aad494ff 100644 --- a/include/linux/security.h +++ b/include/linux/security.h | |||
@@ -2754,7 +2754,6 @@ static inline int security_secid_to_secctx(u32 secid, char **secdata, u32 *secle | |||
2754 | 2754 | ||
2755 | static inline void security_release_secctx(char *secdata, u32 seclen) | 2755 | static inline void security_release_secctx(char *secdata, u32 seclen) |
2756 | { | 2756 | { |
2757 | return -EOPNOTSUPP; | ||
2758 | } | 2757 | } |
2759 | #endif /* CONFIG_SECURITY */ | 2758 | #endif /* CONFIG_SECURITY */ |
2760 | 2759 | ||