summaryrefslogtreecommitdiffstats
path: root/commands/usbserial.c
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 /commands/usbserial.c
parent6b5a16f1939e734e9d419d8063264e736a94dbe6 (diff)
downloadbarebox-90f5eabb452c8424c7b9d6046e7e717fe7cc0ce7.tar.gz
commands/usbserial: Remove unused variable
Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/usbserial.c')
-rw-r--r--commands/usbserial.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/commands/usbserial.c b/commands/usbserial.c
index bd5067f..969fd25 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;