ASoC: codecs: wcd938x: Drop unused num_ports field

The driver does not use few 'num_ports' in 'struct wcd938x_sdw_priv'.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://msgid.link/r/20240612-asoc-wcd9xxx-wide-cleanups-v1-19-0d15885b2a06@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Krzysztof Kozlowski 2024-06-12 18:15:32 +02:00 committed by Mark Brown
parent 43e7400f6b
commit 3f1deca19e
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -652,7 +652,6 @@ struct wcd938x_sdw_priv {
const struct wcd938x_sdw_ch_info *ch_info;
bool port_enable[WCD938X_MAX_SWR_CH_IDS];
int active_ports;
int num_ports;
bool is_tx;
struct wcd938x_priv *wcd938x;
struct irq_domain *slave_irq;