Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
PPSi
Commits
36c0c7ee
Commit
36c0c7ee
authored
Apr 09, 2019
by
baujc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove slave_execute() callback in state-slave.c
parent
54441176
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
20 deletions
+0
-20
state-slave.c
proto-standard/state-slave.c
+0
-20
No files found.
proto-standard/state-slave.c
View file @
36c0c7ee
...
...
@@ -235,20 +235,6 @@ static int slave_handle_announce(struct pp_instance *ppi, void *buf, int len)
return
0
;
}
static
int
slave_execute
(
struct
pp_instance
*
ppi
)
{
int
ret
=
0
;
if
(
is_ext_hook_available
(
ppi
,
execute_slave
))
ret
=
ppi
->
ext_hooks
->
execute_slave
(
ppi
);
if
(
ret
==
1
)
/* done: just return */
return
0
;
if
(
ret
<
0
)
return
ret
;
return
0
;
}
/*
* SLAVE and UNCALIBRATED have many things in common. This function implements
* both states. We set "uncalibrated" internally to 0 or 1.
...
...
@@ -301,12 +287,6 @@ int pp_slave(struct pp_instance *ppi, void *buf, int len)
hdr
->
messageType
);
}
/*
* This function, common to uncalibrated and slave,
* is the core of the slave: hook
*/
ret
=
slave_execute
(
ppi
);
/* Clause 17.6.5.3 : ExternalPortConfiguration enabled
* - The Announce receipt timeout mechanism (see 9.2.6.12) shall not be active.
*/
...
...
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