diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-08-02 14:37:06 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-08-02 14:37:06 -0700 |
commit | 95ce568812822931991a24147987c5c75c0ac5b0 (patch) | |
tree | ff9b281375a7e4ad9383999dc1810d9a21124021 | |
parent | e6eb307d48c81d688804f8b39a0a3ddde3cd3458 (diff) | |
download | linux-stable-95ce568812822931991a24147987c5c75c0ac5b0.tar.gz linux-stable-95ce568812822931991a24147987c5c75c0ac5b0.tar.bz2 linux-stable-95ce568812822931991a24147987c5c75c0ac5b0.zip |
[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>
-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 static inline void security_release_secctx(char *secdata, u32 seclen) { - return -EOPNOTSUPP; } #endif /* CONFIG_SECURITY */ |