From: Uwe Hermann Date: Tue, 18 Jul 2017 16:38:30 +0000 (+0200) Subject: testo: Drop unneeded sdi->driver assignment. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=b258c09f26dad9896e1cc08467ecef0e69e9c1d8;p=libsigrok.git testo: Drop unneeded sdi->driver assignment. This is already done by std_scan_complete(). --- diff --git a/src/hardware/testo/api.c b/src/hardware/testo/api.c index cea44a34..b208ff72 100644 --- a/src/hardware/testo/api.c +++ b/src/hardware/testo/api.c @@ -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);