lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <06f99968-15a5-1138-2151-859b3e68c81d@foss.st.com>
Date:   Wed, 25 May 2022 17:36:07 +0200
From:   Olivier MOYSAN <olivier.moysan@...s.st.com>
To:     Tang Bin <tangbin@...s.chinamobile.com>,
        <arnaud.pouliquen@...s.st.com>, <lgirdwood@...il.com>,
        <broonie@...nel.org>, <perex@...ex.cz>, <tiwai@...e.com>,
        <mcoquelin.stm32@...il.com>, <alexandre.torgue@...s.st.com>
CC:     <linux-stm32@...md-mailman.stormreply.com>,
        <linux-arm-kernel@...ts.infradead.org>,
        <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] ASoC: stm32: sai: Remove useless define



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@...s.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@...com>

Thanks
Olivier

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ