From: Paul E. McKenney Date: Wed, 5 Jul 2023 22:49:29 +0000 (-0700) Subject: rcutorture: Remove obsolete parameter check from mkinitrd.sh X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=2f25542c6f626011ecf52cf8eb4a9b666cb8da86;p=linux.git rcutorture: Remove obsolete parameter check from mkinitrd.sh The mkinitrd.sh script no longer takes an argument, so this commit therefore removes the code that checks for the parameter being present. Signed-off-by: Paul E. McKenney Reviewed-by: Frederic Weisbecker --- diff --git a/tools/testing/selftests/rcutorture/bin/mkinitrd.sh b/tools/testing/selftests/rcutorture/bin/mkinitrd.sh index 71f0dfbb2a6d3..3af3a86a0091d 100755 --- a/tools/testing/selftests/rcutorture/bin/mkinitrd.sh +++ b/tools/testing/selftests/rcutorture/bin/mkinitrd.sh @@ -10,7 +10,6 @@ D=tools/testing/selftests/rcutorture # Prerequisite checks -[ -z "$D" ] && echo >&2 "No argument supplied" && exit 1 if [ ! -d "$D" ]; then echo >&2 "$D does not exist: Malformed kernel source tree?" exit 1