]> sigrok.org Git - libsigrok.git/blobdiff - output/chronovu_la8.c
output: Introduce output module API wrappers.
[libsigrok.git] / output / chronovu_la8.c
index 08164e6b6a0826a7a89da79edeee6b1487e4bc56..ad0b5d32fc2c1ccaf294fabdf7035cd977cecefe 100644 (file)
@@ -101,8 +101,8 @@ static int init(struct sr_output *o)
        return SR_OK;
 }
 
-static int receive(struct sr_output *o, const struct sr_dev_inst *sdi,
-               const struct sr_datafeed_packet *packet, GString **out)
+static int receive(struct sr_output *o, const struct sr_datafeed_packet *packet,
+               GString **out)
 {
        const struct sr_datafeed_logic *logic;
        struct context *ctx;
@@ -110,8 +110,6 @@ static int receive(struct sr_output *o, const struct sr_dev_inst *sdi,
        uint64_t samplerate;
        gchar c[4];
 
-       (void)sdi;
-
        *out = NULL;
        if (!o || !o->sdi)
                return SR_ERR_ARG;