From: Cong Wang <xiyou.wangcong@xxxxxxxxx> The local variables in install() are unused, can be removed. Cc: Harald Hoyer <harald@xxxxxxxxxx> Signed-off-by: Cong Wang <xiyou.wangcong@xxxxxxxxx> --- 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" -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html