From: David S. Miller Date: Wed, 2 Aug 2006 21:37:06 +0000 (-0700) Subject: [SECURITY]: Fix build with CONFIG_SECURITY disabled. X-Git-Tag: v2.6.18-rc4~65^2~1 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95ce568812822931991a24147987c5c75c0ac5b0;p=linux-2.6 [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 --- diff --git a/include/linux/security.h b/include/linux/security.h index aa5b8043dc..6bc2aad494 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 */