ols: remove needless initialization
channel_mask is recalculated before it gets accessed, so this initialization is not needed. Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
parent
082537602a
commit
6745488b1a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue