summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2014-04-12 12:11:01 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2014-04-23 14:01:45 +0200
commit90f5eabb452c8424c7b9d6046e7e717fe7cc0ce7 (patch)
tree79e56348a3302c8bedf7168b4c1b8af36def9066
parent6b5a16f1939e734e9d419d8063264e736a94dbe6 (diff)
downloadbarebox-90f5eabb452c8424c7b9d6046e7e717fe7cc0ce7.tar.gz
barebox-90f5eabb452c8424c7b9d6046e7e717fe7cc0ce7.tar.xz
commands/usbserial: Remove unused variable
Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--commands/usbserial.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/commands/usbserial.c b/commands/usbserial.c
index bd5067f7a4..969fd253b9 100644
--- a/commands/usbserial.c
+++ b/commands/usbserial.c
@@ -31,7 +31,6 @@ static int do_usbserial(int argc, char *argv[])
{
int opt;
struct usb_serial_pdata pdata;
- char *argstr;
char *manufacturer = "barebox";
const char *productname = barebox_get_model();
u16 idVendor = 0, idProduct = 0;
@@ -68,8 +67,6 @@ static int do_usbserial(int argc, char *argv[])
}
}
- argstr = argv[optind];
-
pdata.manufacturer = manufacturer;
pdata.productname = productname;
pdata.idVendor = idVendor;