From 6f75d7d117f4e06157db22d12ed7adf1a1698e97 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Wed, 18 Oct 2017 16:20:46 +0200 Subject: [PATCH] core: remove line_set_offset() This function is not used and should have been static anyway. Signed-off-by: Bartosz Golaszewski --- src/lib/core.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/lib/core.c b/src/lib/core.c index 439faae..bb9382d 100644 --- a/src/lib/core.c +++ b/src/lib/core.c @@ -260,11 +260,6 @@ static void line_set_state(struct gpiod_line *line, int state) line->state = state; } -void line_set_offset(struct gpiod_line *line, unsigned int offset) -{ - line->info.line_offset = offset; -} - struct gpiod_chip * gpiod_line_get_chip(struct gpiod_line *line) { return line->chip; -- 2.30.2