]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
90kernel-modules: remove unused variables in install()
authorCong Wang <xiyou.wangcong@gmail.com>
Thu, 26 Jul 2012 07:39:13 +0000 (15:39 +0800)
committerHarald Hoyer <harald@redhat.com>
Thu, 26 Jul 2012 08:10:04 +0000 (10:10 +0200)
The local variables in install() are unused, can be removed.

Cc: Harald Hoyer <harald@redhat.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
modules.d/90kernel-modules/module-setup.sh

index 1632367483f02079f5d087b6f46f2aa59089dba5..5018dc19ef3fcf4c66b4bdd7da91eca3a0daf62b 100755 (executable)
@@ -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"