git.sh: remove meaningless check

in the function that immediately follows, it
starts two for loops that check every item in
that directory, using the asterisk wildcard.

if the directory does not exist, then the for
loop will simply break on first pass.

Signed-off-by: Leah Rowe <leah@libreboot.org>
20240612_branch
Leah Rowe 2024-05-22 15:53:37 +01:00
parent c148fa53df
commit dae10dd482
1 changed files with 0 additions and 2 deletions

View File

@ -128,8 +128,6 @@ patch_submodules()
while read -r modsrcdir; do
modpatchdir="$moddir/${modsrcdir##*/}/patches"
[ -d "$modpatchdir" ] || continue
git_am_patches "$tmpgit/$modsrcdir" "$modpatchdir"
done < "$tmpdir/modules"
}