]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/brymen-bm86x/api.c
Don't reset instance list in scan() callback
[libsigrok.git] / src / hardware / brymen-bm86x / api.c
index eb41b845fdfc3f6d8bbf60679548169986b1ce03..64acf323423edf227e0732a3fdd1c5d2fda3e0cd 100644 (file)
@@ -44,7 +44,6 @@ static GSList *scan(struct sr_dev_driver *di, GSList *options)
        const char *conn;
 
        drvc = di->context;
-       drvc->instances = NULL;
 
        conn = BRYMEN_BC86X;
        for (l = options; l; l = l->next) {