ace748
From 2877acadc0be3dff39c3a92650bacfac7e0603de Mon Sep 17 00:00:00 2001
ace748
From: Lidong Zhong <lzhong@suse.com>
ace748
Date: Mon, 24 Aug 2015 18:02:10 +0800
ace748
Subject: [PATCH] dracut-functions.sh: remove duplicate declaratio of local
ace748
 variable
ace748
ace748
---
ace748
 dracut-functions.sh | 2 +-
ace748
 1 file changed, 1 insertion(+), 1 deletion(-)
ace748
ace748
diff --git a/dracut-functions.sh b/dracut-functions.sh
1755ca
index 61726e44..3c4118a9 100755
ace748
--- a/dracut-functions.sh
ace748
+++ b/dracut-functions.sh
ace748
@@ -426,7 +426,7 @@ shorten_persistent_dev() {
ace748
 # $ find_block_device /usr
ace748
 # 8:4
ace748
 find_block_device() {
ace748
-    local _majmin _dev _majmin _find_mpt
ace748
+    local _dev _majmin _find_mpt
ace748
     _find_mpt="$1"
ace748
     if [[ $use_fstab != yes ]]; then
ace748
         [[ -d $_find_mpt/. ]]