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
2ec7131b
Commit
2ec7131b
authored
Mar 17, 2013
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
proto-standard/state-master.c: trivial: remove local var
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
a78aefb1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
state-master.c
proto-standard/state-master.c
+1
-4
No files found.
proto-standard/state-master.c
View file @
2ec7131b
...
...
@@ -8,13 +8,10 @@
int
pp_master
(
struct
pp_instance
*
ppi
,
unsigned
char
*
pkt
,
int
plen
)
{
TimeInternal
*
time
;
TimeInternal
*
time_snt
;
int
msgtype
,
d1
,
d2
;
int
e
=
0
;
/* error var, to check errors in msg handling */
time
=
&
ppi
->
last_rcv_time
;
if
(
ppi
->
is_new_state
)
{
pp_timeout_rand
(
ppi
,
PP_TO_SYNC
,
DSPOR
(
ppi
)
->
logSyncInterval
);
pp_timeout_rand
(
ppi
,
PP_TO_ANN_INTERVAL
,
...
...
@@ -80,7 +77,7 @@ int pp_master(struct pp_instance *ppi, unsigned char *pkt, int plen)
case
PPM_DELAY_REQ
:
msg_copy_header
(
&
ppi
->
delay_req_hdr
,
&
ppi
->
received_ptp_header
);
msg_issue_delay_resp
(
ppi
,
time
);
msg_issue_delay_resp
(
ppi
,
&
ppi
->
last_rcv_
time
);
break
;
/*
...
...
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