Message ID | 20240612-asoc-wcd9xxx-wide-cleanups-v1-23-0d15885b2a06@linaro.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 34935cd4721f0492eafbc516dd1fc7f5f687fa76 |
Headers | show |
Series | ASoC: codecs: wcd family: cleanups | expand |
On 12/06/2024 18:15, Krzysztof Kozlowski wrote: > The driver does not use few 'num_ports' in 'struct wcd939x_sdw_priv'. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > --- > sound/soc/codecs/wcd939x.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/sound/soc/codecs/wcd939x.h b/sound/soc/codecs/wcd939x.h > index 0aa4d9d542c6..1571c2120cfc 100644 > --- a/sound/soc/codecs/wcd939x.h > +++ b/sound/soc/codecs/wcd939x.h > @@ -912,7 +912,6 @@ struct wcd939x_sdw_priv { > const struct wcd939x_sdw_ch_info *ch_info; > bool port_enable[WCD939X_MAX_SWR_CH_IDS]; > int active_ports; > - int num_ports; > bool is_tx; > struct wcd939x_priv *wcd939x; > struct irq_domain *slave_irq; > Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
diff --git a/sound/soc/codecs/wcd939x.h b/sound/soc/codecs/wcd939x.h index 0aa4d9d542c6..1571c2120cfc 100644 --- a/sound/soc/codecs/wcd939x.h +++ b/sound/soc/codecs/wcd939x.h @@ -912,7 +912,6 @@ struct wcd939x_sdw_priv { const struct wcd939x_sdw_ch_info *ch_info; bool port_enable[WCD939X_MAX_SWR_CH_IDS]; int active_ports; - int num_ports; bool is_tx; struct wcd939x_priv *wcd939x; struct irq_domain *slave_irq;
The driver does not use few 'num_ports' in 'struct wcd939x_sdw_priv'. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> --- sound/soc/codecs/wcd939x.h | 1 - 1 file changed, 1 deletion(-)