summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/connmgr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipcpd/normal/connmgr.c')
-rw-r--r--src/ipcpd/normal/connmgr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ipcpd/normal/connmgr.c b/src/ipcpd/normal/connmgr.c
index 11f83247..fa43b97a 100644
--- a/src/ipcpd/normal/connmgr.c
+++ b/src/ipcpd/normal/connmgr.c
@@ -207,9 +207,8 @@ int connmgr_ae_init(enum ae_id id,
ae = connmgr.aes + id;
- if (pthread_mutex_init(&ae->lock, NULL)) {
+ if (pthread_mutex_init(&ae->lock, NULL))
return -1;
- }
if (pthread_cond_init(&ae->cond, NULL)) {
pthread_mutex_destroy(&ae->lock);