]> sigrok.org Git - libsigrok.git/commitdiff
testo: Drop unneeded sdi->driver assignment.
authorUwe Hermann <redacted>
Tue, 18 Jul 2017 16:38:30 +0000 (18:38 +0200)
committerUwe Hermann <redacted>
Wed, 19 Jul 2017 13:39:23 +0000 (15:39 +0200)
This is already done by std_scan_complete().

src/hardware/testo/api.c

index cea44a348fc9f8501cdae52b6be160c7d829173f..b208ff724ccaad304bc0fcf5b58816325947fabd 100644 (file)
@@ -119,7 +119,6 @@ static GSList *scan(struct sr_dev_driver *di, GSList *options)
                sdi->status = SR_ST_INACTIVE;
                sdi->vendor = g_strdup("Testo");
                sdi->model = g_strdup("435/635/735");
-               sdi->driver = di;
                sdi->inst_type = SR_INST_USB;
                sdi->conn = sr_usb_dev_inst_new(libusb_get_bus_number(devlist[i]),
                                libusb_get_device_address(devlist[i]), NULL);