Removed unnecessary NULL checks in mysql_client and mysql_common

This commit is contained in:
Markus Makela
2015-06-23 11:53:29 +03:00
parent 3de7798fac
commit 3d7b050f6f
2 changed files with 2 additions and 5 deletions

View File

@ -1771,7 +1771,7 @@ gw_client_close(DCB *dcb)
dcb->state == DCB_STATE_NOPOLLING ||
dcb->state == DCB_STATE_ZOMBIE)
{
if (!DCB_IS_CLONE(dcb) && protocol) CHK_PROTOCOL(protocol);
if (!DCB_IS_CLONE(dcb)) CHK_PROTOCOL(protocol);
}
#endif
LOGIF(LD, (skygw_log_write(LOGFILE_DEBUG,