]> sigrok.org Git - libsigrok.git/blobdiff - output/gnuplot.c
output: Introduce output module API wrappers.
[libsigrok.git] / output / gnuplot.c
index 0eb116d291d3e3e7e3eb888f72e73df2a4f4095b..33a3ee0af305c6810b81c1f8ccb19072d854014a 100644 (file)
@@ -133,16 +133,14 @@ static int init(struct sr_output *o)
        return 0;
 }
 
-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;
        const uint8_t *sample;
        unsigned int curbit, p, idx, i;
 
-       (void)sdi;
-
        *out = NULL;
        if (!o || !o->internal)
                return SR_ERR_BUG;