X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;ds=inline;f=src%2Fhardware%2Fgmc-mh-1x-2x%2Fapi.c;h=7ba93e4ed87492265127be296899e586e98ca67d;hb=566007e15e8ec0a23b064ba8ea44baae305508b5;hp=629a3f2b16c9916fc9d2df3fc24fa41c823367bf;hpb=d268866d294f8ab94e14881caf5d0126e5b77a91;p=libsigrok.git diff --git a/src/hardware/gmc-mh-1x-2x/api.c b/src/hardware/gmc-mh-1x-2x/api.c index 629a3f2b..7ba93e4e 100644 --- a/src/hardware/gmc-mh-1x-2x/api.c +++ b/src/hardware/gmc-mh-1x-2x/api.c @@ -155,7 +155,6 @@ static GSList *scan_1x_2x_rs232(struct sr_dev_driver *di, GSList *options) devices = NULL; drvc = di->context; - drvc->instances = NULL; conn = serialcomm = NULL; serialcomm_given = FALSE; @@ -249,7 +248,6 @@ static GSList *scan_2x_bd232(struct sr_dev_driver *di, GSList *options) devices = NULL; drvc = di->context; - drvc->instances = NULL; sr_spew("scan_2x_bd232() called!");