[PATCH 22/23] ASoC: codecs: wcd939x: Drop unused RX/TX direction enum

Krzysztof Kozlowski posted 23 patches 1 year, 8 months ago
[PATCH 22/23] ASoC: codecs: wcd939x: Drop unused RX/TX direction enum
Posted by Krzysztof Kozlowski 1 year, 8 months ago
The enum with RX/TX soundwire direction is not used.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 sound/soc/codecs/wcd939x.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/sound/soc/codecs/wcd939x.h b/sound/soc/codecs/wcd939x.h
index a6c9c6cee056..0aa4d9d542c6 100644
--- a/sound/soc/codecs/wcd939x.h
+++ b/sound/soc/codecs/wcd939x.h
@@ -903,11 +903,6 @@ enum wcd939x_rx_sdw_channels {
 	WCD939X_HIFI_PCM_R,
 };
 
-enum {
-	WCD939X_SDW_DIR_RX,
-	WCD939X_SDW_DIR_TX,
-};
-
 struct wcd939x_priv;
 struct wcd939x_sdw_priv {
 	struct sdw_slave *sdev;

-- 
2.43.0
Re: [PATCH 22/23] ASoC: codecs: wcd939x: Drop unused RX/TX direction enum
Posted by neil.armstrong@linaro.org 1 year, 8 months ago
On 12/06/2024 18:15, Krzysztof Kozlowski wrote:
> The enum with RX/TX soundwire direction is not used.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>   sound/soc/codecs/wcd939x.h | 5 -----
>   1 file changed, 5 deletions(-)
> 
> diff --git a/sound/soc/codecs/wcd939x.h b/sound/soc/codecs/wcd939x.h
> index a6c9c6cee056..0aa4d9d542c6 100644
> --- a/sound/soc/codecs/wcd939x.h
> +++ b/sound/soc/codecs/wcd939x.h
> @@ -903,11 +903,6 @@ enum wcd939x_rx_sdw_channels {
>   	WCD939X_HIFI_PCM_R,
>   };
>   
> -enum {
> -	WCD939X_SDW_DIR_RX,
> -	WCD939X_SDW_DIR_TX,
> -};
> -
>   struct wcd939x_priv;
>   struct wcd939x_sdw_priv {
>   	struct sdw_slave *sdev;
> 

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>