Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
32
Issues
32
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
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
Software for White Rabbit PTP Core
Commits
df6e0c97
Commit
df6e0c97
authored
May 30, 2023
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
net: remove unused dmtd_phase field in wrpc_socket
parent
a9b13673
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
net.h
include/net.h
+1
-1
net.c
lib/net.c
+0
-1
No files found.
include/net.h
View file @
df6e0c97
...
...
@@ -45,7 +45,7 @@ struct wrpc_socket {
uint16_t
prio
;
uint32_t
phase_transition
;
uint32_t
dmtd_phase
;
struct
sockq
queue
;
};
...
...
lib/net.c
View file @
df6e0c97
...
...
@@ -78,7 +78,6 @@ struct wrpc_socket *ptpd_netif_create_socket(struct wrpc_socket *sock,
wrpc_get_port_state
(
&
pstate
);
sock
->
phase_transition
=
pstate
.
t2_phase_transition
;
sock
->
dmtd_phase
=
pstate
.
phase_val
;
/*packet queue */
sock
->
queue
.
head
=
sock
->
queue
.
tail
=
0
;
...
...
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