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

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