fixed typos
This commit is contained in:
parent
72716f15be
commit
1f9bcd0f94
|
@ -437,7 +437,6 @@ static int config_list(int key, GVariant **data, const struct sr_dev_inst *sdi,
|
|||
static int dev_open(struct sr_dev_inst *sdi)
|
||||
{
|
||||
struct dev_context *devc;
|
||||
int ret;
|
||||
|
||||
devc = sdi->priv;
|
||||
|
||||
|
|
|
@ -134,7 +134,7 @@ SR_PRIV int p_ols_open(struct dev_context *devc)
|
|||
return SR_OK;
|
||||
|
||||
err_open_close_ftdic:
|
||||
ftdi_usb_close(devc->ftdic))
|
||||
ftdi_usb_close(devc->ftdic);
|
||||
return SR_ERR;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue