binary_helpers: Drop unnecessary malloc check.
(as per HACKING)
This commit is contained in:
parent
18698b40d1
commit
ef2196712c
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue