Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
Mock Turtle
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Mock Turtle
Commits
e7a1f58a
Commit
e7a1f58a
authored
Jun 03, 2016
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wrtd:lib: remove unused function
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
06adfc30
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
18 deletions
+0
-18
libwrtd-output.c
applications/wrtd/lib/libwrtd-output.c
+0
-18
No files found.
applications/wrtd/lib/libwrtd-output.c
View file @
e7a1f58a
...
...
@@ -41,24 +41,6 @@ static inline int wrtd_out_send_and_receive_sync(struct wrtd_desc *wrtd,
}
static
int
wrtd_out_trigger_first_free
(
struct
wrtd_node
*
dev
)
{
struct
wrtd_output_trigger_state
trigger
;
int
err
,
i
;
for
(
i
=
0
;
i
<
FD_HASH_ENTRIES
;
i
++
)
{
/* It does not matter which channel, use 0 */
err
=
wrtd_out_trig_state_get_by_index
(
dev
,
i
,
0
,
&
trigger
);
if
(
err
&&
errno
==
EWRTD_NOFOUND_TRIGGER
)
return
i
;
}
errno
=
ENOMEM
;
return
-
1
;
}
/**
* It retrieves the trigger index where you can write.
* If the trigger with ID 'tid' already exists it returns its index,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment