bits: Remove unused code.

This commit is contained in:
Martin Ling 2013-04-26 21:22:36 +01:00 committed by Bert Vermeulen
parent 9275d23208
commit ddb292571d
1 changed files with 0 additions and 4 deletions

View File

@ -70,10 +70,6 @@ SR_PRIV int data_bits(struct sr_output *o, const uint8_t *data_in,
strncpy((char *)outbuf, ctx->header, outsize); strncpy((char *)outbuf, ctx->header, outsize);
g_free(ctx->header); g_free(ctx->header);
ctx->header = NULL; ctx->header = NULL;
/* Ensure first transition. */
memcpy(&ctx->prevsample, data_in, ctx->unitsize);
ctx->prevsample = ~ctx->prevsample;
} }
if (length_in >= ctx->unitsize) { if (length_in >= ctx->unitsize) {