commit | 8156b451f37898d3c3652b4e988a4d62ae16eaac | [log] [tgz] |
---|---|---|
author | Will Drewry <wad@chromium.org> | Tue Apr 17 14:48:58 2012 -0500 |
committer | James Morris <james.l.morris@oracle.com> | Wed Apr 18 12:24:52 2012 +1000 |
tree | e310c816de65d28f5b5ecf75bc890ccc8a2c2514 | |
parent | e4da89d02f369450996cfd04f64b1cce4d8afaea [diff] |
seccomp: fix build warnings when there is no CONFIG_SECCOMP_FILTER If both audit and seccomp filter support are disabled, 'ret' is marked as unused. If just seccomp filter support is disabled, data and skip are considered unused. This change fixes those build warnings. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Will Drewry <wad@chromium.org> Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: James Morris <james.l.morris@oracle.com>