From: Will Drewry Date: Tue, 17 Apr 2012 19:48:58 +0000 (-0500) Subject: seccomp: fix build warnings when there is no CONFIG_SECCOMP_FILTER X-Git-Tag: v3.5-rc1~161^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8156b451f37898d3c3652b4e988a4d62ae16eaac;p=pandora-kernel.git 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 Signed-off-by: Will Drewry Acked-by: Kees Cook Signed-off-by: James Morris --- Reading git-diff-tree failed