summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCong Wang <xiyou.wangcong@gmail.com>2012-07-26 15:39:13 +0800
committerHarald Hoyer <harald@redhat.com>2012-07-26 10:10:04 +0200
commit823311ea3b7bd74570e56a804b7dc166d6b74e27 (patch)
tree9a0aecc111db4ca5c868a5a9c30d3c306d5dba48
parentf67a1f7f64bbc48edbcf76a09cac0573ea626653 (diff)
downloaddracut-823311ea3b7bd74570e56a804b7dc166d6b74e27.tar.gz
dracut-823311ea3b7bd74570e56a804b7dc166d6b74e27.tar.bz2
dracut-823311ea3b7bd74570e56a804b7dc166d6b74e27.zip
90kernel-modules: remove unused variables in install()
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>
-rwxr-xr-xmodules.d/90kernel-modules/module-setup.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules.d/90kernel-modules/module-setup.sh b/modules.d/90kernel-modules/module-setup.sh
index 16323674..5018dc19 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"