summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-02-11 09:56:41 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-02-12 09:33:44 +0100
commit341f7d5574514e23ad176ad199c7ee4acc3a96fd (patch)
treec8e8acddda907050b8e0de0c9fb27992817764d8
parented440360e6385f813542f40b6685d9ddfeefa3de (diff)
downloadbarebox-341f7d5574514e23ad176ad199c7ee4acc3a96fd.tar.gz
defaultenv-2: mtdparts-add: remove unused variable
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--defaultenv/defaultenv-2-base/bin/mtdparts-add3
1 files changed, 0 insertions, 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