]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/yokogawa-dlm/api.c
drivers: Drop unneeded or duplicate comments.
[libsigrok.git] / src / hardware / yokogawa-dlm / api.c
index 650174a09234ae7ee1a52a82fe33f822b8655e36..cc0cacbd3737201255f9e1b1e50cda6f8f607c29 100644 (file)
@@ -476,10 +476,6 @@ static int config_list(uint32_t key, GVariant **data, const struct sr_dev_inst *
        devc = (sdi) ? sdi->priv : NULL;
        model = (devc) ? devc->model_config : NULL;
 
-       /*
-        * If cg is NULL, only the SR_CONF_DEVICE_OPTIONS that are not
-        * specific to a channel group must be returned.
-        */
        if (!cg) {
                switch (key) {
                case SR_CONF_SCAN_OPTIONS:
@@ -611,7 +607,6 @@ static int dev_acquisition_start(const struct sr_dev_inst *sdi)
        devc->current_channel = devc->enabled_channels;
        dlm_channel_data_request(sdi);
 
-       /* Call our callback when data comes in or after 5ms. */
        sr_scpi_source_add(sdi->session, scpi, G_IO_IN, 5,
                        dlm_data_receive, (void *)sdi);