projects
/
qemu-gpiodev
/
libgpiod.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e5b921
)
core: remove line_set_offset()
author
Bartosz Golaszewski
<bartekgola@gmail.com>
Wed, 18 Oct 2017 14:20:46 +0000
(16:20 +0200)
committer
Bartosz Golaszewski
<bartekgola@gmail.com>
Wed, 18 Oct 2017 14:20:46 +0000
(16:20 +0200)
This function is not used and should have been static anyway.
Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
src/lib/core.c
patch
|
blob
|
history
diff --git
a/src/lib/core.c
b/src/lib/core.c
index 439faae0fb708ed4b06f9983392c84e6dbb0a404..bb9382de2cbc6f16c7d81517fe248429e33c4aeb 100644
(file)
--- 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;