MXS-1392 Remove dcb_free
Not used and with reference counting it must not be available either.
This commit is contained in:
@ -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
|
||||
*
|
||||
|
Reference in New Issue
Block a user