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:
parent
7a1a3a36a9
commit
d586a7f4bd
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue