From: Martin Ling Date: Tue, 3 Dec 2013 23:29:20 +0000 (+0000) Subject: Remove SR_INST_USBTMC which is no longer used. X-Git-Tag: libsigrok-0.3.0~494 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=4b4474ed6a4701e28961569eb777052d0b74673d;p=libsigrok.git Remove SR_INST_USBTMC which is no longer used. --- diff --git a/libsigrok.h b/libsigrok.h index 53ff8c24..88ba2f58 100644 --- a/libsigrok.h +++ b/libsigrok.h @@ -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 ab4fd76d..ed37abea 100644 --- 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); }