]> sigrok.org Git - libsigrok.git/commitdiff
testo: Minor code cleanup.
authorBert Vermeulen <redacted>
Tue, 3 May 2016 20:09:39 +0000 (22:09 +0200)
committerUwe Hermann <redacted>
Tue, 3 May 2016 23:33:31 +0000 (01:33 +0200)
src/hardware/testo/api.c

index 5d5ccb9048776dd7d976d2a00f4f90825de25000..d22edc2c73b6ad5b39ebce32b60eb98dd7f57383 100644 (file)
@@ -235,7 +235,6 @@ static int config_get(uint32_t key, GVariant **data, const struct sr_dev_inst *s
 static int config_set(uint32_t key, GVariant *data, const struct sr_dev_inst *sdi,
                const struct sr_channel_group *cg)
 {
-       struct sr_dev_driver *di = sdi->driver;
        struct dev_context *devc;
        gint64 now;
        int ret;