[PATCH 16/17] defaultenv-2: mtdparts-add: remove unused variable

Sascha Hauer s.hauer at pengutronix.de
Thu Feb 12 00:54:33 PST 2015


Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 defaultenv/defaultenv-2-base/bin/mtdparts-add | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/defaultenv/defaultenv-2-base/bin/mtdparts-add b/defaultenv/defaultenv-2-base/bin/mtdparts-add
index f49561c..a0e419e 100644
--- a/defaultenv/defaultenv-2-base/bin/mtdparts-add
+++ b/defaultenv/defaultenv-2-base/bin/mtdparts-add
@@ -5,7 +5,6 @@ mkdir -p /tmp/mtdparts
 parts=
 device=
 kernelname=
-bbdev=
 
 while getopt "p:d:k:b" opt; do
         if [ ${opt} = p ]; then
@@ -14,8 +13,6 @@ while getopt "p:d:k:b" opt; do
                 device=${OPTARG}
         elif [ ${opt} = k ]; then
                 kernelname=${OPTARG}
-	elif [ ${opt} = b ]; then
-		bbdev=true
         fi
 done
 
-- 
2.1.4




More information about the barebox mailing list