Remove unused DCB state

The state was never assigned.
This commit is contained in:
Markus Mäkelä
2018-07-17 20:08:53 +03:00
parent d9fde54b95
commit d91710c640
3 changed files with 6 additions and 20 deletions

View File

@ -3083,7 +3083,7 @@ static uint32_t dcb_process_poll_events(DCB *dcb, uint32_t events)
}
if ((events & EPOLLIN) && (dcb->n_close == 0))
{
if (dcb->state == DCB_STATE_LISTENING || dcb->state == DCB_STATE_WAITING)
if (dcb->state == DCB_STATE_LISTENING)
{
MXS_DEBUG("%lu [poll_waitevents] "
"Accept in fd %d",