]> sigrok.org Git - libsigrok.git/blobdiff - src/input/logicport.c
input/logicport: remove obsolete reset/cleanup assignments
[libsigrok.git] / src / input / logicport.c
index 011735302f0f4483e6425d2a0d2aafa26d8069a8..e594b2cece049379eaed8d869af2ebb4fd3316c0 100644 (file)
@@ -1180,11 +1180,6 @@ static int reset(struct sr_input *in)
        inc->channels = NULL;
        cleanup(in);
        inc->channels = channels;
-       inc->ch_feed_prep = FALSE;
-       inc->header_sent = FALSE;
-       inc->rate_sent = FALSE;
-       if (in->buf)
-               g_string_truncate(in->buf, 0);
 
        return SR_OK;
 }