]> sigrok.org Git - libsigrok.git/commitdiff
Drop some obsolete and unneeded comments.
authorUwe Hermann <redacted>
Wed, 13 Apr 2016 20:28:44 +0000 (22:28 +0200)
committerUwe Hermann <redacted>
Fri, 29 Apr 2016 17:20:53 +0000 (19:20 +0200)
src/hardware/baylibre-acme/api.c
src/hardware/fx2lafw/protocol.c
src/hardware/ikalogic-scanalogic2/protocol.c
src/hardware/saleae-logic16/protocol.c

index bcd900d4c4ac53c0a3cfa0da83a324c7585baec0..c886bfcc26a4076309135c444932a4a24b792a14 100644 (file)
@@ -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;
index c496aa14f9885a28dec90e024b8baba48ec921b7..d267ad5b0d84ff5ca17b73c442edc0b825c4b9ec 100644 (file)
@@ -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;
index 4e8b64b7df1cac3db767a7c878951a518ea23d06..f18e2924ab5d7c423fb72b7011a57b23fbb6d1f1 100644 (file)
@@ -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);
index a14d0e087c87eb6f180424f9a0e866cda69a4994..4cdc28f3f652fbe1e88086bb0f2f4638bd2db25d 100644 (file)
@@ -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;