]> sigrok.org Git - libsigrok.git/commitdiff
Remove SR_INST_USBTMC which is no longer used.
authorMartin Ling <redacted>
Tue, 3 Dec 2013 23:29:20 +0000 (23:29 +0000)
committerMartin Ling <redacted>
Tue, 3 Dec 2013 23:29:20 +0000 (23:29 +0000)
libsigrok.h
std.c

index 53ff8c2470431c9e83619e5d256573e2b435bbe0..88ba2f58139625680c166a553682df5332014f53 100644 (file)
@@ -803,8 +803,6 @@ enum {
        SR_INST_USB = 10000,
        /** Device instance type for serial port devices. */
        SR_INST_SERIAL,
-       /** Device instance type for USBTMC devices. */
-       SR_INST_USBTMC,
        /** Device instance type for SCPI devices. */
        SR_INST_SCPI,
 };
diff --git a/std.c b/std.c
index ab4fd76df09639029afefffedef326e957bc32ec..ed37abeac641b02a760f6e1d46bad285772c002e 100644 (file)
--- a/std.c
+++ b/std.c
@@ -215,8 +215,6 @@ SR_PRIV int std_dev_clear(const struct sr_dev_driver *driver,
                        if (sdi->inst_type == SR_INST_USB)
                                sr_usb_dev_inst_free(sdi->conn);
 #endif
-                       if (sdi->inst_type == SR_INST_USBTMC)
-                               sr_usbtmc_dev_inst_free(sdi->conn);
                        if (sdi->inst_type == SR_INST_SCPI)
                                sr_scpi_free(sdi->conn);
                }