]> sigrok.org Git - libsigrok.git/blobdiff - hardware/fluke-dmm/fluke.c
uni-t-ut32x: Shorten dev_list().
[libsigrok.git] / hardware / fluke-dmm / fluke.c
index 2c6451dcf2785f31a5f62008b525a5cd9f531a5c..d960228af2d63d11edc3b88269707630cab92155 100644 (file)
@@ -26,7 +26,6 @@
 #include "libsigrok-internal.h"
 #include "fluke-dmm.h"
 
-
 static struct sr_datafeed_analog *handle_qm_18x(const struct sr_dev_inst *sdi,
                char **tokens)
 {
@@ -35,8 +34,6 @@ static struct sr_datafeed_analog *handle_qm_18x(const struct sr_dev_inst *sdi,
        char *e, *u;
        gboolean is_oor;
 
-       (void)sdi;
-
        if (strcmp(tokens[0], "QM") || !tokens[1])
                return NULL;
 
@@ -159,8 +156,6 @@ static struct sr_datafeed_analog *handle_qm_28x(const struct sr_dev_inst *sdi,
        float fvalue;
        char *eptr;
 
-       (void)sdi;
-
        if (!tokens[1])
                return NULL;
 
@@ -536,5 +531,3 @@ SR_PRIV int fluke_receive_data(int fd, int revents, void *cb_data)
 
        return TRUE;
 }
-
-