MXS-1392 Remove dcb_free

Not used and with reference counting it must not be available either.
This commit is contained in:
Johan Wikman
2017-09-07 13:52:19 +03:00
parent 7e17e2cd56
commit bf42d845cf
2 changed files with 0 additions and 13 deletions

View File

@ -202,18 +202,6 @@ dcb_alloc(dcb_role_t role, SERV_LISTENER *listener)
return newdcb;
}
/**
* Provided only for consistency, simply calls dcb_close to guarantee
* safe disposal of a DCB
*
* @param dcb The DCB to free
*/
void
dcb_free(DCB *dcb)
{
dcb_close(dcb);
}
/**
* Free a DCB and remove it from the chain of all DCBs
*