diff options
author | Tang Bin <tangbin@cmss.chinamobile.com> | 2022-05-25 21:50:23 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-06-06 12:38:45 +0100 |
commit | bf1ebcddcb19a1b6d6d8b75b75626197a5a76d4f (patch) | |
tree | 000d51c1dcdae917509c4f1467fc3524118256f6 /sound/soc/stm | |
parent | 9c3148dec7d2d40ef727b8789d3e9410ad6d4a1f (diff) | |
download | linux-stable-bf1ebcddcb19a1b6d6d8b75b75626197a5a76d4f.tar.gz linux-stable-bf1ebcddcb19a1b6d6d8b75b75626197a5a76d4f.tar.bz2 linux-stable-bf1ebcddcb19a1b6d6d8b75b75626197a5a76d4f.zip |
ASoC: stm32: sai: Remove useless define
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>
Acked-by: Olivier Moysan <olivier.moysan@st.com>
Link: https://lore.kernel.org/r/20220525135023.6792-1-tangbin@cmss.chinamobile.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/stm')
-rw-r--r-- | sound/soc/stm/stm32_sai_sub.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/stm/stm32_sai_sub.c b/sound/soc/stm/stm32_sai_sub.c index dd636af81c9b..4296fcb245c9 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 |