From: Cong Wang Subject: [Patch] 90kernel-modules: remove unused variables in install() Date: Thu, 26 Jul 2012 15:39:13 +0800 Message-ID: <1343288353-5515-1-git-send-email-amwang@redhat.com> Return-path: Sender: initramfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: Cong Wang , Harald Hoyer From: Cong Wang The local variables in install() are unused, can be removed. Cc: Harald Hoyer Signed-off-by: Cong Wang --- diff --git a/modules.d/90kernel-modules/module-setup.sh b/modules.d/90kernel-modules/module-setup.sh index 1632367..5018dc1 100755 --- a/modules.d/90kernel-modules/module-setup.sh +++ b/modules.d/90kernel-modules/module-setup.sh @@ -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"