[PATCH 5/8] x86: Kill set but not used warning in test_NX()

From: Gustavo F. Padovan
Date: Fri May 20 2011 - 15:13:52 EST


Signed-off-by: Gustavo F. Padovan <padovan@xxxxxxxxxxxxxx>
---
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 787a5e4..3f92ce0 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)
--
1.7.5.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/