Ejemplo n.º 1
0
/* call must be locked */
void ice_shutdown(struct ice_agent **agp) {
    struct ice_agent *ag;

    if (!agp) {
        ilog(LOG_ERR, "ice agp is NULL");
        return ;
    }

    ag = *agp;
    if (!ag)
        return;

    __agent_deschedule(ag);

    *agp = NULL;
    obj_put(ag);
}
Ejemplo n.º 2
0
static void __agent_shutdown(struct ice_agent *ag) {
	ilog(LOG_DEBUG, "Shutting down ICE agent (nothing to do)");
	__agent_deschedule(ag);
}