link: variables are already set in update_state

This commit is contained in:
Wim Taymans 2020-06-17 13:18:52 +02:00
parent 0441653ce4
commit 741a2b3dcc

View file

@ -778,8 +778,6 @@ static void port_state_changed(struct pw_impl_link *this, struct pw_impl_port *p
break;
default:
if (state < PW_IMPL_PORT_STATE_PAUSED && this->prepared) {
this->preparing = false;
this->prepared = false;
pw_impl_link_update_state(this, PW_LINK_STATE_INIT, NULL);
}
break;