From: Uwe Hermann Date: Mon, 9 May 2016 10:41:50 +0000 (+0200) Subject: baylibre-acme: Drop unused last_sample_fin variable. X-Git-Tag: libsigrok-0.5.0~439 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=c8f29d772bacbec2420756cf494d61107019f760;p=libsigrok.git baylibre-acme: Drop unused last_sample_fin variable. --- diff --git a/src/hardware/baylibre-acme/protocol.c b/src/hardware/baylibre-acme/protocol.c index ea25d95b..629a6014 100644 --- a/src/hardware/baylibre-acme/protocol.c +++ b/src/hardware/baylibre-acme/protocol.c @@ -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; } diff --git a/src/hardware/baylibre-acme/protocol.h b/src/hardware/baylibre-acme/protocol.h index cb5f1f9a..8717debd 100644 --- a/src/hardware/baylibre-acme/protocol.h +++ b/src/hardware/baylibre-acme/protocol.h @@ -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; };