diff mbox series

[1/3] ASoC: codecs: lpass-rx-macro: remove unused struct 'rx_macro_reg_mask_val'

Message ID 20240601225446.183505-2-linux@treblig.org (mailing list archive)
State Accepted
Commit 44e55f9de9950dba091401898a931fc1a3a99146
Headers show
Series Dead structs in sound/soc/codecs | expand

Commit Message

Dr. David Alan Gilbert June 1, 2024, 10:54 p.m. UTC
From: "Dr. David Alan Gilbert" <linux@treblig.org>

'rx_macro_reg_mask_val' is unused since the original
commit af3d54b99764 ("ASoC: codecs: lpass-rx-macro: add support for
lpass rx macro").

Remove it.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
---
 sound/soc/codecs/lpass-rx-macro.c | 6 ------
 1 file changed, 6 deletions(-)

Comments

Srinivas Kandagatla June 3, 2024, 12:34 p.m. UTC | #1
On 01/06/2024 23:54, linux@treblig.org wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
> 
> 'rx_macro_reg_mask_val' is unused since the original
> commit af3d54b99764 ("ASoC: codecs: lpass-rx-macro: add support for
> lpass rx macro").
> 
> Remove it.
> 
> Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
> ---

thanks for the patch,

Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>

--srini
>   sound/soc/codecs/lpass-rx-macro.c | 6 ------
>   1 file changed, 6 deletions(-)
> 
> diff --git a/sound/soc/codecs/lpass-rx-macro.c b/sound/soc/codecs/lpass-rx-macro.c
> index f35187d69cac..dfb7e4c69683 100644
> --- a/sound/soc/codecs/lpass-rx-macro.c
> +++ b/sound/soc/codecs/lpass-rx-macro.c
> @@ -463,12 +463,6 @@ static const struct comp_coeff_val comp_coeff_table[HPH_MODE_MAX][COMP_MAX_COEFF
>   	},
>   };
>   
> -struct rx_macro_reg_mask_val {
> -	u16 reg;
> -	u8 mask;
> -	u8 val;
> -};
> -
>   enum {
>   	INTERP_HPHL,
>   	INTERP_HPHR,
diff mbox series

Patch

diff --git a/sound/soc/codecs/lpass-rx-macro.c b/sound/soc/codecs/lpass-rx-macro.c
index f35187d69cac..dfb7e4c69683 100644
--- a/sound/soc/codecs/lpass-rx-macro.c
+++ b/sound/soc/codecs/lpass-rx-macro.c
@@ -463,12 +463,6 @@  static const struct comp_coeff_val comp_coeff_table[HPH_MODE_MAX][COMP_MAX_COEFF
 	},
 };
 
-struct rx_macro_reg_mask_val {
-	u16 reg;
-	u8 mask;
-	u8 val;
-};
-
 enum {
 	INTERP_HPHL,
 	INTERP_HPHR,