Signed-off-by: Alexander Shiyan <shc_work@xxxxxxx> --- 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 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox