From a6c8341913e61c86f37f053654f0b86bda61e050 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Thu, 29 Jun 2017 17:05:27 +0200 Subject: [PATCH] line: remove stray semicolons These got introduced accidentally when adding chip_get_fd(). Signed-off-by: Bartosz Golaszewski --- src/lib/line.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/line.c b/src/lib/line.c index f9afbaf..ea0aef0 100644 --- a/src/lib/line.c +++ b/src/lib/line.c @@ -216,7 +216,7 @@ int gpiod_line_update(struct gpiod_line *line) line->info.flags = 0; chip = gpiod_line_get_chip(line); - fd = chip_get_fd(chip);; + fd = chip_get_fd(chip); status = ioctl(fd, GPIO_GET_LINEINFO_IOCTL, &line->info); if (status < 0) @@ -337,7 +337,7 @@ int gpiod_line_request_bulk(struct gpiod_line_bulk *bulk, sizeof(req->consumer_label) - 1); chip = gpiod_line_get_chip(bulk->lines[0]); - fd = chip_get_fd(chip);; + fd = chip_get_fd(chip); status = ioctl(fd, GPIO_GET_LINEHANDLE_IOCTL, req); if (status < 0) @@ -578,7 +578,7 @@ int gpiod_line_event_request(struct gpiod_line *line, req->eventflags |= GPIOEVENT_REQUEST_BOTH_EDGES; chip = gpiod_line_get_chip(line); - fd = chip_get_fd(chip);; + fd = chip_get_fd(chip); status = ioctl(fd, GPIO_GET_LINEEVENT_IOCTL, req); if (status < 0) -- 2.30.2