From: Aurelien Jacobs Date: Tue, 16 Aug 2016 16:16:28 +0000 (+0200) Subject: brymen-bm86x: remove redundant initilialization X-Git-Tag: libsigrok-0.5.0~275 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=5fe1b5cc14819c23622c14f5a0cb545889044172;p=libsigrok.git brymen-bm86x: remove redundant initilialization --- diff --git a/src/hardware/brymen-bm86x/protocol.c b/src/hardware/brymen-bm86x/protocol.c index 5ae8c095..353ae02b 100644 --- a/src/hardware/brymen-bm86x/protocol.c +++ b/src/hardware/brymen-bm86x/protocol.c @@ -206,12 +206,6 @@ static void brymen_bm86x_handle_packet(const struct sr_dev_inst *sdi, sr_analog_init(&analog[0], &encoding[0], &meaning[0], &spec[0], 0); sr_analog_init(&analog[1], &encoding[1], &meaning[1], &spec[1], 0); - analog[0].meaning->mq = 0; - analog[0].meaning->mqflags = 0; - - analog[1].meaning->mq = 0; - analog[1].meaning->mqflags = 0; - brymen_bm86x_parse(buf, floatval, analog); if (analog[0].meaning->mq != 0) {