Blame 0033-90kernel-modules-remove-unused-variables-in-install.patch

12f6cc0
From 823311ea3b7bd74570e56a804b7dc166d6b74e27 Mon Sep 17 00:00:00 2001
12f6cc0
From: Cong Wang <xiyou.wangcong@gmail.com>
12f6cc0
Date: Thu, 26 Jul 2012 15:39:13 +0800
12f6cc0
Subject: [PATCH] 90kernel-modules: remove unused variables in install()
12f6cc0
12f6cc0
The local variables in install() are unused, can be removed.
12f6cc0
12f6cc0
Cc: Harald Hoyer <harald@redhat.com>
12f6cc0
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
12f6cc0
---
12f6cc0
 modules.d/90kernel-modules/module-setup.sh | 1 -
12f6cc0
 1 file changed, 1 deletion(-)
12f6cc0
12f6cc0
diff --git a/modules.d/90kernel-modules/module-setup.sh b/modules.d/90kernel-modules/module-setup.sh
12f6cc0
index 1632367..5018dc1 100755
12f6cc0
--- a/modules.d/90kernel-modules/module-setup.sh
12f6cc0
+++ b/modules.d/90kernel-modules/module-setup.sh
12f6cc0
@@ -75,7 +75,6 @@ installkernel() {
12f6cc0
 }
12f6cc0
 
12f6cc0
 install() {
12f6cc0
-    local _f i
12f6cc0
     [ -f /etc/modprobe.conf ] && dracut_install /etc/modprobe.conf
12f6cc0
     dracut_install -o /{etc,lib}/modprobe.d/*.conf
12f6cc0
     inst_hook cmdline 01 "$moddir/parse-kernel.sh"