diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-05-20 21:13:00 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-05-21 19:10:33 +0200 |
commit | 6ec5ff4bc3a90b7716eadc4c8a686e904131f03a (patch) | |
tree | 3646a4ce8405c8a8d50689ac5a5752becb052928 /arch/x86/kernel/test_nx.c | |
parent | x86, SMEP: Fix section mismatch warnings (diff) | |
download | linux-6ec5ff4bc3a90b7716eadc4c8a686e904131f03a.tar.xz linux-6ec5ff4bc3a90b7716eadc4c8a686e904131f03a.zip |
x86: Eliminate various 'set but not used' warnings
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Cc: Joerg Roedel <joerg.roedel@amd.com> (supporter:AMD IOMMU (AMD-VI))
Cc: iommu@lists.linux-foundation.org (open list:AMD IOMMU (AMD-VI))
Link: http://lkml.kernel.org/r/1305918786-7239-3-git-send-email-padovan@profusion.mobi
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/test_nx.c')
-rw-r--r-- | arch/x86/kernel/test_nx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/test_nx.c b/arch/x86/kernel/test_nx.c index 787a5e499dd1..3f92ce07e525 100644 --- a/arch/x86/kernel/test_nx.c +++ b/arch/x86/kernel/test_nx.c @@ -161,7 +161,7 @@ static int test_NX(void) } #endif - return 0; + return ret; } static void test_exit(void) |