lkml.org 
[lkml]   [2022]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] ASoC: stm32: sai: Remove useless define
From


On 5/25/22 15:50, Tang Bin wrote:
> STM_SAI_IS_SUB_B(x) and STM_SAI_BLOCK_NAME(x) are
> not being used, so remove them.
>
> Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
> ---
> sound/soc/stm/stm32_sai_sub.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/sound/soc/stm/stm32_sai_sub.c b/sound/soc/stm/stm32_sai_sub.c
> index d300605a2..4b33257c5 100644
> --- a/sound/soc/stm/stm32_sai_sub.c
> +++ b/sound/soc/stm/stm32_sai_sub.c
> @@ -45,8 +45,6 @@
> #define STM_SAI_B_ID 0x1
>
> #define STM_SAI_IS_SUB_A(x) ((x)->id == STM_SAI_A_ID)
> -#define STM_SAI_IS_SUB_B(x) ((x)->id == STM_SAI_B_ID)
> -#define STM_SAI_BLOCK_NAME(x) (((x)->id == STM_SAI_A_ID) ? "A" : "B")
>
> #define SAI_SYNC_NONE 0x0
> #define SAI_SYNC_INTERNAL 0x1

Acked-by: Olivier Moysan <olivier.moysan@st.com>

Thanks
Olivier

\
 
 \ /
  Last update: 2022-05-25 17:38    [W:0.051 / U:0.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site