From: Bartosz Golaszewski Date: Wed, 18 Oct 2017 14:20:46 +0000 (+0200) Subject: core: remove line_set_offset() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=6f75d7d117f4e06157db22d12ed7adf1a1698e97;p=qemu-gpiodev%2Flibgpiod.git core: remove line_set_offset() This function is not used and should have been static anyway. Signed-off-by: Bartosz Golaszewski --- 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;