diff mbox series

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

Message ID 20240612-asoc-wcd9xxx-wide-cleanups-v1-22-0d15885b2a06@linaro.org (mailing list archive)
State Accepted
Commit 2642b6aa9d0f43c52c83461bc7ae4917336e7643
Headers show
Series ASoC: codecs: wcd family: cleanups | expand

Commit Message

Krzysztof Kozlowski June 12, 2024, 4:15 p.m. UTC
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(-)

Comments

Neil Armstrong June 12, 2024, 4:25 p.m. UTC | #1
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>
diff mbox series

Patch

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;