]> sigrok.org Git - libsigrok.git/blobdiff - hardware/motech-lps-30x/protocol.c
motech-lps-30x: Cleanup.
[libsigrok.git] / hardware / motech-lps-30x / protocol.c
index 11c1be6d3fca7a39b9fd7c3572b9d7172444582b..c4afd657a730becdc1a26ede17917b35a193b9a5 100644 (file)
@@ -66,12 +66,10 @@ static void send_data(struct sr_dev_inst *sdi)
 static void process_line(struct sr_dev_inst *sdi)
 {
        struct dev_context *devc;
-       struct sr_serial_dev_inst *serial;
        double dbl;
        int auxint;
 
        devc = sdi->priv;
-       serial = sdi->conn;
 
        switch (devc->acq_req_pending) {
        case 0: /* Should not happen... */