summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2024-01-16 14:51:00 +0100
committerSimon Rettberg2024-01-16 14:51:00 +0100
commit1b369d1e2877a6d33c326c3199bb0d67f794bd57 (patch)
treee1d10084612be1e229608dbb3bf936df4ad63762
parent[nvidia-common] Try downloading installer bundle from local server first (diff)
downloadmltk-1b369d1e2877a6d33c326c3199bb0d67f794bd57.tar.gz
mltk-1b369d1e2877a6d33c326c3199bb0d67f794bd57.tar.xz
mltk-1b369d1e2877a6d33c326c3199bb0d67f794bd57.zip
[nvidia-common] Remove unused var
-rw-r--r--core/modules/nvidia-common/module.build4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/modules/nvidia-common/module.build b/core/modules/nvidia-common/module.build
index 1dae11ce..e91938c3 100644
--- a/core/modules/nvidia-common/module.build
+++ b/core/modules/nvidia-common/module.build
@@ -109,7 +109,7 @@ build() {
if ! [ -s "${builddir}/supportedchips.html" ]; then
pwarning "No supportedchips.html -- THE GOGGLES, THEY DO NOTHING!"
else
- local mode line name dev version
+ local mode line dev version
pinfo "Creating drm.cfg"
local regex='^<td[^>]*>([0-9A-F]{4})(\s+[0-9A-F]{4}\s+[0-9A-F]{4})?<'
mode=0
@@ -120,7 +120,6 @@ build() {
mode=1
elif [[ "$mode" = 1 ]] && [[ "$line" =~ ^'<td' ]]; then
mode=2
- #name=$(echo "$line" | sed -r 's/^.*<td[^>]*>([^<]+)<.*$/\1/')
elif [[ "$mode" = 2 ]] && [[ "$line" =~ $regex ]]; then
mode=0
dev="${BASH_REMATCH[1]}"
@@ -133,7 +132,6 @@ build() {
fi
else
mode=0
- name=
dev=
fi
done < "${builddir}/supportedchips.html" >> "$drmfile"