baylibre-acme: Remove unnecessary close().

The timerfd descriptor is closed automatically by
g_io_channel_shutdown(). No need to close it manually.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
This commit is contained in:
Bartosz Golaszewski 2015-07-01 12:30:09 +02:00
parent 7a1a3a36a9
commit d586a7f4bd
1 changed files with 0 additions and 1 deletions

View File

@ -415,7 +415,6 @@ static int dev_acquisition_stop(struct sr_dev_inst *sdi, void *cb_data)
g_io_channel_shutdown(devc->channel, FALSE, NULL);
g_io_channel_unref(devc->channel);
devc->channel = NULL;
close(devc->timer_fd);
/* Send last packet. */
packet.type = SR_DF_END;