Removed unnecessary NULL checks in mysql_client and mysql_common
This commit is contained in:
@ -128,10 +128,7 @@ void mysql_protocol_done (
|
||||
MySQLProtocol* p;
|
||||
server_command_t* scmd;
|
||||
server_command_t* scmd2;
|
||||
|
||||
if(dcb->protocol == NULL)
|
||||
return;
|
||||
|
||||
|
||||
p = (MySQLProtocol *)dcb->protocol;
|
||||
|
||||
spinlock_acquire(&p->protocol_lock);
|
||||
|
||||
Reference in New Issue
Block a user