input/logicport: remove obsolete reset/cleanup assignments

The in->buf truncation is done by common backend logic. The module's
cleanup() does zero out inc, which obsoletes the flag assignments.
This commit is contained in:
Gerhard Sittig 2018-06-03 18:32:29 +02:00 committed by Uwe Hermann
parent 4c40d096d4
commit 3c9117094c
1 changed files with 0 additions and 5 deletions

View 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;
}