[PATCH 08/12] commands/usbserial: Remove unused variable

Alexander Shiyan shc_work at mail.ru
Sat Apr 12 01:11:01 PDT 2014


Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
---
 commands/usbserial.c | 3 ---
 1 file changed, 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;
-- 
1.8.3.2




More information about the barebox mailing list