diff --git a/server/core/gateway_mysql_protocol.c b/server/core/gateway_mysql_protocol.c index 65ff4cf2e..4cf3faef8 100644 --- a/server/core/gateway_mysql_protocol.c +++ b/server/core/gateway_mysql_protocol.c @@ -70,7 +70,6 @@ MySQLProtocol *gw_mysql_init(MySQLProtocol *data) { } input->protocol_chk_top = CHK_NUM_PROTOCOL; input->protocol_chk_tail = CHK_NUM_PROTOCOL; - simple_mutex_init(&input->protocol_mutex, "MySQL Protocol mutex"); #ifdef MYSQL_CONN_DEBUG fprintf(stderr, "gw_mysql_init() called\n"); #endif diff --git a/server/modules/include/mysql_client_server_protocol.h b/server/modules/include/mysql_client_server_protocol.h index 6307b6e72..13aac23f5 100644 --- a/server/modules/include/mysql_client_server_protocol.h +++ b/server/modules/include/mysql_client_server_protocol.h @@ -114,7 +114,6 @@ typedef enum { */ typedef struct { skygw_chk_t protocol_chk_top; - simple_mutex_t protocol_mutex; int fd; /* The socket descriptor */ struct dcb *descriptor; /** The DCB of the socket * we are running on */ diff --git a/server/modules/protocol/mysql_common.c b/server/modules/protocol/mysql_common.c index f39bce925..4d5c031b3 100644 --- a/server/modules/protocol/mysql_common.c +++ b/server/modules/protocol/mysql_common.c @@ -65,7 +65,6 @@ MySQLProtocol *gw_mysql_init(MySQLProtocol *data) { } input->protocol_chk_top = CHK_NUM_PROTOCOL; input->protocol_chk_tail = CHK_NUM_PROTOCOL; - simple_mutex_init(&input->protocol_mutex, "MySQL Protocol mutex"); #ifdef MYSQL_CONN_DEBUG fprintf(stderr, "gw_mysql_init() called\n");