[PATCH 1/6] test_sysctl: remove superfluous test_reqs()

From: Luis Chamberlain
Date: Wed Mar 20 2019 - 18:28:50 EST


We already call test_reqs(), no need to call it twice.

Signed-off-by: Luis Chamberlain <mcgrof@xxxxxxxxxx>
---
tools/testing/selftests/sysctl/sysctl.sh | 2 --
1 file changed, 2 deletions(-)

diff --git a/tools/testing/selftests/sysctl/sysctl.sh b/tools/testing/selftests/sysctl/sysctl.sh
index 780ce7123374..87df7e52a97a 100755
--- a/tools/testing/selftests/sysctl/sysctl.sh
+++ b/tools/testing/selftests/sysctl/sysctl.sh
@@ -675,8 +675,6 @@ list_tests()
echo "0005 x $(get_test_count 0005) - tests proc_douintvec() array"
}

-test_reqs
-
usage()
{
NUM_TESTS=$(grep -o ' ' <<<"$ALL_TESTS" | grep -c .)
--
2.18.0