diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2023-08-28 08:19:04 +0200 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2023-08-30 10:33:19 +0200 |
commit | 24bb41dd02b9a2a03ebdeb35d81da9061ffc4604 (patch) | |
tree | 21f470d46d9f85d3d836d6a0549ee51ca7c0393b /src/ipcpd/ipcp.h | |
parent | e3d2677318030bfec170d7399f527dd6babf7a90 (diff) | |
download | ouroboros-24bb41dd02b9a2a03ebdeb35d81da9061ffc4604.tar.gz ouroboros-24bb41dd02b9a2a03ebdeb35d81da9061ffc4604.zip |
ipcpd: Remove unused rwlock
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/ipcpd/ipcp.h')
-rw-r--r-- | src/ipcpd/ipcp.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ipcpd/ipcp.h b/src/ipcpd/ipcp.h index 31d58ff2..2d0e39de 100644 --- a/src/ipcpd/ipcp.h +++ b/src/ipcpd/ipcp.h @@ -97,9 +97,8 @@ extern struct ipcp { int irmd_fd; enum ipcp_state state; - pthread_rwlock_t state_lock; - pthread_mutex_t state_mtx; pthread_cond_t state_cond; + pthread_mutex_t state_mtx; int sockfd; char * sock_path; |