scripts: check-image-compatibility.sh: remove unused variable extension

extenstion variable is never used, hence remove

Signed-off-by: Ruslan Mstoi <ruslan.mstoi@intel.com>
This commit is contained in:
Ruslan Mstoi 2024-01-30 18:00:21 +02:00 committed by Bo Chen
parent 82cac6f6ad
commit a9340f5d9d

View File

@ -77,8 +77,6 @@ else
working_dir=`readlink -m ${working_dir}`
fi
#get file extension and image type
extension="${file_name##*.}"
filename="${file_name%.*}"
dest_file=${working_dir}/${filename}.raw
image_type=$(qemu-img info ${file_abs_path} | grep 'file format:' | awk '{ print $3 }')