Removed unused protocol_mutex and references to it.

This commit is contained in:
vraatikka 2013-08-28 23:25:27 +03:00
parent 134c33776e
commit 48165bf5cd
3 changed files with 0 additions and 3 deletions

View File

@ -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

View File

@ -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 */

View File

@ -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");