binary_helpers: Drop unnecessary malloc check.

(as per HACKING)
This commit is contained in:
Uwe Hermann 2020-06-05 00:09:11 +02:00
parent 18698b40d1
commit ef2196712c
1 changed files with 0 additions and 4 deletions

View File

@ -85,10 +85,6 @@ SR_PRIV int bv_send_analog_channel(const struct sr_dev_inst *sdi, struct sr_chan
meaning.unit = bac->unit;
meaning.mqflags = 0;
meaning.channels = g_slist_append(NULL, ch);
if (!meaning.channels) {
err = SR_ERR_MALLOC;
goto err_out;
}
spec.spec_digits = bac->digits;