summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2023-08-28 08:19:04 +0200
committerSander Vrijders <sander@ouroboros.rocks>2023-08-30 10:33:19 +0200
commit24bb41dd02b9a2a03ebdeb35d81da9061ffc4604 (patch)
tree21f470d46d9f85d3d836d6a0549ee51ca7c0393b /src
parente3d2677318030bfec170d7399f527dd6babf7a90 (diff)
downloadouroboros-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')
-rw-r--r--src/ipcpd/ipcp.h3
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;