Commit 95ce568812822931991a24147987c5c75c0ac5b0

Authored by David S. Miller
1 parent e6eb307d48

[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>

Showing 1 changed file with 0 additions and 1 deletions Side-by-side Diff

include/linux/security.h
... ... @@ -2754,7 +2754,6 @@
2754 2754  
2755 2755 static inline void security_release_secctx(char *secdata, u32 seclen)
2756 2756 {
2757   - return -EOPNOTSUPP;
2758 2757 }
2759 2758 #endif /* CONFIG_SECURITY */
2760 2759