]> sigrok.org Git - libsigrok.git/blobdiff - output/vcd.c
output: Introduce output module API wrappers.
[libsigrok.git] / output / vcd.c
index 7453b507fccd3b7ad999b64dce3fcf90eaa932ad..4d853057b5c712d208b642fa94838a86b1608f42 100644 (file)
@@ -139,8 +139,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;
@@ -149,8 +149,6 @@ static int receive(struct sr_output *o, const struct sr_dev_inst *sdi,
        uint8_t *sample;
        gboolean timestamp_written;
 
-       (void)sdi;
-
        *out = NULL;
        if (!o || !o->internal)
                return SR_ERR_BUG;