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:
parent
4c40d096d4
commit
3c9117094c
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue