summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-08-02 14:37:06 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-08-02 14:37:06 -0700
commit95ce568812822931991a24147987c5c75c0ac5b0 (patch)
treeff9b281375a7e4ad9383999dc1810d9a21124021 /include/linux
parente6eb307d48c81d688804f8b39a0a3ddde3cd3458 (diff)
downloadlinux-95ce568812822931991a24147987c5c75c0ac5b0.tar.gz
linux-95ce568812822931991a24147987c5c75c0ac5b0.tar.bz2
linux-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>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/security.h1
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 */