diff --git a/daemon/ice.c b/daemon/ice.c index b6e7b9c7f..4d258988a 100644 --- a/daemon/ice.c +++ b/daemon/ice.c @@ -479,10 +479,8 @@ void ice_shutdown(struct ice_agent **agp) { } ag = *agp; - if (!ag) { - ilog(LOG_ERR, "ice ag is NULL"); + if (!ag) return; - } __agent_deschedule(ag);