x86: Eliminate various 'set but not used' warnings
[linux-3.10.git] / arch / x86 / kernel / test_nx.c
index 787a5e4..3f92ce0 100644 (file)
@@ -161,7 +161,7 @@ static int test_NX(void)
        }
 
 #endif
-       return 0;
+       return ret;
 }
 
 static void test_exit(void)