Skip to contentSkip to conversation

90kernel-modules: remove unused variables in install()

PATCH New Cong Wang 1 participant 1 message Jul 26, 2012

lore
Share & tools
lore

Cong Wang

author
#0 lore raw

PATCH 1/1 90kernel-modules: remove unused variables in install()

From: Cong Wang <[email protected]>

The local variables in install() are unused, can be removed.

Cc Harald Hoyer <[email protected]>

---

modules.d/90kernel-modules/module-setup.sh +0 -1
index 1632367..5018dc1 100755
@@ -75,7 +75,6 @@ installkernel() {
 }
 
 install() {
-    local _f i
     [ -f /etc/modprobe.conf ] && dracut_install /etc/modprobe.conf
     dracut_install -o /{etc,lib}/modprobe.d/*.conf
     inst_hook cmdline 01 "$moddir/parse-kernel.sh"