mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-07 14:24:18 +08:00
ASoC: Intel: sof_sdw: Remove redundant initialisations
Unspecified fields are by default initialised to zero, remove redundant init pointer initialisations. Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://msgid.link/r/20240326160429.13560-33-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
84aa440e02
commit
36f307d296
@ -1026,7 +1026,6 @@ static struct sof_sdw_codec_info codec_info_list[] = {
|
||||
.dai_name = "sdw-mockup-aif1",
|
||||
.dai_type = SOF_SDW_DAI_TYPE_JACK,
|
||||
.dailink = {SDW_JACK_OUT_DAI_ID, SDW_JACK_IN_DAI_ID},
|
||||
.init = NULL,
|
||||
},
|
||||
},
|
||||
.dai_num = 1,
|
||||
@ -1040,7 +1039,6 @@ static struct sof_sdw_codec_info codec_info_list[] = {
|
||||
.dai_name = "sdw-mockup-aif1",
|
||||
.dai_type = SOF_SDW_DAI_TYPE_JACK,
|
||||
.dailink = {SDW_JACK_OUT_DAI_ID, SDW_JACK_IN_DAI_ID},
|
||||
.init = NULL,
|
||||
},
|
||||
},
|
||||
.dai_num = 1,
|
||||
@ -1054,7 +1052,6 @@ static struct sof_sdw_codec_info codec_info_list[] = {
|
||||
.dai_name = "sdw-mockup-aif1",
|
||||
.dai_type = SOF_SDW_DAI_TYPE_AMP,
|
||||
.dailink = {SDW_AMP_OUT_DAI_ID, SDW_AMP_IN_DAI_ID},
|
||||
.init = NULL,
|
||||
},
|
||||
},
|
||||
.dai_num = 1,
|
||||
@ -1068,7 +1065,6 @@ static struct sof_sdw_codec_info codec_info_list[] = {
|
||||
.direction = {false, true},
|
||||
.dai_type = SOF_SDW_DAI_TYPE_MIC,
|
||||
.dailink = {SDW_UNUSED_DAI_ID, SDW_DMIC_DAI_ID},
|
||||
.init = NULL,
|
||||
},
|
||||
},
|
||||
.dai_num = 1,
|
||||
|
Loading…
Reference in New Issue
Block a user