]> sigrok.org Git - libsigrok.git/commitdiff
baylibre-acme: Drop unused last_sample_fin variable.
authorUwe Hermann <redacted>
Mon, 9 May 2016 10:41:50 +0000 (12:41 +0200)
committerUwe Hermann <redacted>
Mon, 9 May 2016 10:44:42 +0000 (12:44 +0200)
src/hardware/baylibre-acme/protocol.c
src/hardware/baylibre-acme/protocol.h

index ea25d95b00fcb3add71053454df369fd33363c32..629a601448cce8d829da19ffb797502a190b11f8 100644 (file)
@@ -789,6 +789,5 @@ SR_PRIV int bl_acme_receive_data(int fd, int revents, void *cb_data)
                return TRUE;
        }
 
-       devc->last_sample_fin = g_get_monotonic_time();
        return TRUE;
 }
index cb5f1f9af994710dc0d9c02e260cfe2800421a26..8717debd42cda396eb514983ab237a291355d48e 100644 (file)
@@ -56,7 +56,6 @@ struct dev_context {
 
        uint32_t num_channels;
        uint64_t samples_missed;
-       int64_t last_sample_fin;
        int timer_fd;
        GIOChannel *channel;
 };