diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-08-02 21:37:06 (GMT) |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-08-02 21:37:06 (GMT) |
commit | 95ce568812822931991a24147987c5c75c0ac5b0 (patch) | |
tree | ff9b281375a7e4ad9383999dc1810d9a21124021 /include/linux/security.h | |
parent | e6eb307d48c81d688804f8b39a0a3ddde3cd3458 (diff) | |
download | linux-fsl-qoriq-95ce568812822931991a24147987c5c75c0ac5b0.tar.xz |
[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 aa5b804..6bc2aad 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 static inline void security_release_secctx(char *secdata, u32 seclen) { - return -EOPNOTSUPP; } #endif /* CONFIG_SECURITY */ |