trees: remove unnecessary check in copy_elf

we don't need to check whether this variable is set,
because checking an empty path will also cause the
same return in the next line.

Signed-off-by: Leah Rowe <leah@libreboot.org>
audit6-merge1
Leah Rowe 2024-06-15 23:00:12 +01:00
parent 340eea0b1c
commit 331c4097ff
1 changed files with 0 additions and 1 deletions

View File

@ -293,7 +293,6 @@ mkpayload_grub()
copy_elf()
{
[ -n "$listfile" ] || return 0
[ -f "$listfile" ] || return 0
x_ mkdir -p "$dest_dir"