From 4700405386d144e4d8626b95f5aba58d81faeefa Mon Sep 17 00:00:00 2001 From: Xing Zheng Date: Sat, 3 Jun 2023 14:54:52 +0800 Subject: [PATCH] ASoC: rockchip: rk817-codec: remove some useless SOC_ENUM_SINGLE_DECLs Change-Id: Ibc351c03518152ac463f54aa1fa8640083352aa8 Signed-off-by: Xing Zheng --- sound/soc/codecs/rk817_codec.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/sound/soc/codecs/rk817_codec.c b/sound/soc/codecs/rk817_codec.c index 91e573255c19..a334f763224a 100644 --- a/sound/soc/codecs/rk817_codec.c +++ b/sound/soc/codecs/rk817_codec.c @@ -510,11 +510,6 @@ static const char * const rk817_playback_path_mode[] = { static const char * const rk817_capture_path_mode[] = { "MIC OFF", "Main Mic", "Hands Free Mic", "BT Sco Mic"}; -static const char * const rk817_call_path_mode[] = { - "OFF", "RCV", "SPK", "HP", "HP_NO_MIC", "BT"}; /* 0-5 */ - -static const char * const rk817_modem_input_mode[] = {"OFF", "ON"}; - static const char * const rk817_binary_mode[] = {"OFF", "ON"}; static SOC_ENUM_SINGLE_DECL(rk817_playback_path_type, @@ -523,12 +518,6 @@ static SOC_ENUM_SINGLE_DECL(rk817_playback_path_type, static SOC_ENUM_SINGLE_DECL(rk817_capture_path_type, 0, 0, rk817_capture_path_mode); -static SOC_ENUM_SINGLE_DECL(rk817_call_path_type, - 0, 0, rk817_call_path_mode); - -static SOC_ENUM_SINGLE_DECL(rk817_modem_input_type, - 0, 0, rk817_modem_input_mode); - static SOC_ENUM_SINGLE_DECL(rk817_resume_path_type, 0, 0, rk817_binary_mode);