diff --git a/src/hardware/baylibre-acme/api.c b/src/hardware/baylibre-acme/api.c index bcd900d4..c886bfcc 100644 --- a/src/hardware/baylibre-acme/api.c +++ b/src/hardware/baylibre-acme/api.c @@ -156,7 +156,6 @@ static int dev_open(struct sr_dev_inst *sdi) { (void)sdi; - /* Nothing to do here. */ sdi->status = SR_ST_ACTIVE; return SR_OK; @@ -166,7 +165,6 @@ static int dev_close(struct sr_dev_inst *sdi) { (void)sdi; - /* Nothing to do here. */ sdi->status = SR_ST_INACTIVE; return SR_OK; diff --git a/src/hardware/fx2lafw/protocol.c b/src/hardware/fx2lafw/protocol.c index c496aa14..d267ad5b 100644 --- a/src/hardware/fx2lafw/protocol.c +++ b/src/hardware/fx2lafw/protocol.c @@ -332,7 +332,6 @@ static void finish_acquisition(struct sr_dev_inst *sdi) std_session_send_df_end(sdi, LOG_PREFIX); - /* Remove fds from polling. */ usb_source_remove(sdi->session, devc->ctx); devc->num_transfers = 0; diff --git a/src/hardware/ikalogic-scanalogic2/protocol.c b/src/hardware/ikalogic-scanalogic2/protocol.c index 4e8b64b7..f18e2924 100644 --- a/src/hardware/ikalogic-scanalogic2/protocol.c +++ b/src/hardware/ikalogic-scanalogic2/protocol.c @@ -28,7 +28,6 @@ static void stop_acquisition(struct sr_dev_inst *sdi) { struct drv_context *drvc = sdi->driver->context; - /* Remove USB file descriptors from polling. */ usb_source_remove(sdi->session, drvc->sr_ctx); std_session_send_df_end(sdi, LOG_PREFIX); @@ -40,7 +39,6 @@ static void abort_acquisition(struct sr_dev_inst *sdi) { struct drv_context *drvc = sdi->driver->context; - /* Remove USB file descriptors from polling. */ usb_source_remove(sdi->session, drvc->sr_ctx); std_session_send_df_end(sdi, LOG_PREFIX); diff --git a/src/hardware/saleae-logic16/protocol.c b/src/hardware/saleae-logic16/protocol.c index a14d0e08..4cdc28f3 100644 --- a/src/hardware/saleae-logic16/protocol.c +++ b/src/hardware/saleae-logic16/protocol.c @@ -763,7 +763,6 @@ static void finish_acquisition(struct sr_dev_inst *sdi) std_session_send_df_end(sdi, LOG_PREFIX); - /* Remove fds from polling. */ usb_source_remove(sdi->session, devc->ctx); devc->num_transfers = 0;