diff --git a/spa/plugins/alsa/acp/acp.c b/spa/plugins/alsa/acp/acp.c index 41867975a..b9332443f 100644 --- a/spa/plugins/alsa/acp/acp.c +++ b/spa/plugins/alsa/acp/acp.c @@ -960,7 +960,6 @@ static int device_disable(pa_card *impl, pa_alsa_mapping *mapping, pa_alsa_devic if (dev->active_port) { dev->active_port->port.flags &= ~ACP_PORT_ACTIVE; dev->active_port = NULL; - dev->device.active_port_index = ACP_INVALID_INDEX; } return 0; } diff --git a/spa/plugins/alsa/acp/acp.h b/spa/plugins/alsa/acp/acp.h index ecd48e75c..65fa13c86 100644 --- a/spa/plugins/alsa/acp/acp.h +++ b/spa/plugins/alsa/acp/acp.h @@ -204,7 +204,6 @@ struct acp_device { float volume_step; uint32_t n_ports; - uint32_t active_port_index; struct acp_port **ports; };