Skip to content

Commit

Permalink
[SECURITY]: Fix build with CONFIG_SECURITY disabled.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David S. Miller committed Aug 2, 2006
1 parent e6eb307 commit 95ce568
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/linux/security.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down

0 comments on commit 95ce568

Please sign in to comment.