mk: Remove unnecessary argument checks on trees()

These checks are no longer necessary, because these
checks are already properly handled in main().

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2025-04-12 21:59:08 +01:00
parent 52f3d54116
commit 9eb8856b3c
-4
View File
@@ -134,10 +134,6 @@ trees()
{
flags="f:b:m:u:c:x:s:l:n:d:"
[ $# -lt 1 ] && $err "No argument provided"
[ "${1%-*}" = "$1" ] && $err \
"First argument must be a flag ($flags)"
while getopts $flags option; do
[ -n "$_f" ] && $err "only one flag is permitted"
_f="$1"