]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/uni-t-ut32x/api.c
Don't reset instance list in scan() callback
[libsigrok.git] / src / hardware / uni-t-ut32x / api.c
index 789b72def626ca97bbbad01ae6965b3480d25093..147ac7dfe6f041be7b3e4d24d6bf7ef028fdc885 100644 (file)
@@ -48,7 +48,6 @@ static GSList *scan(struct sr_dev_driver *di, GSList *options)
        const char *conn;
 
        drvc = di->context;
-       drvc->instances = NULL;
 
        conn = NULL;
        for (l = options; l; l = l->next) {