]> sigrok.org Git - libsigrok.git/commit
link-mso19: Drop unnecessary NULL check
authorLars-Peter Clausen <redacted>
Tue, 10 May 2016 12:03:02 +0000 (14:03 +0200)
committerLars-Peter Clausen <redacted>
Mon, 23 May 2016 16:24:23 +0000 (18:24 +0200)
commitf1e93a951ec455ec5576ef17c0853b38be242b0b
tree0d80a3f79bc76bfc45af52c94af792cd7e8dae0c
parent27272a704d4017ff4abc1c840a221a3f62d1f346
link-mso19: Drop unnecessary NULL check

sdi is allocated using g_malloc0() which can never fail, in addition to
that sdi is already dereferenced before the check, which makes the check
useless. So remove it.

Signed-off-by: Lars-Peter Clausen <redacted>
src/hardware/link-mso19/api.c