From 6745488b1a33acda728440e69f83e8bb0a0663f1 Mon Sep 17 00:00:00 2001 From: Wolfram Sang Date: Wed, 2 Jan 2019 13:15:15 +0100 Subject: [PATCH] ols: remove needless initialization channel_mask is recalculated before it gets accessed, so this initialization is not needed. Signed-off-by: Wolfram Sang --- src/hardware/openbench-logic-sniffer/protocol.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/hardware/openbench-logic-sniffer/protocol.c b/src/hardware/openbench-logic-sniffer/protocol.c index 0d6efeb8..3bfb890f 100644 --- a/src/hardware/openbench-logic-sniffer/protocol.c +++ b/src/hardware/openbench-logic-sniffer/protocol.c @@ -141,7 +141,6 @@ SR_PRIV struct dev_context *ols_dev_new(void) /* Acquisition settings */ devc->limit_samples = devc->capture_ratio = 0; devc->trigger_at = -1; - devc->channel_mask = 0xffffffff; devc->flag_reg = 0; return devc; -- 2.30.2