We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4b3622 commit f3c8897Copy full SHA for f3c8897
sound/soc/mediatek/mt8183/mt8183-dai-i2s.c
@@ -1036,7 +1036,6 @@ static int mt8183_dai_i2s_set_priv(struct mtk_base_afe *afe)
1036
int mt8183_dai_i2s_register(struct mtk_base_afe *afe)
1037
{
1038
struct mtk_base_afe_dai *dai;
1039
- int ret;
1040
1041
dai = devm_kzalloc(afe->dev, sizeof(*dai), GFP_KERNEL);
1042
if (!dai)
@@ -1055,9 +1054,5 @@ int mt8183_dai_i2s_register(struct mtk_base_afe *afe)
1055
1054
dai->num_dapm_routes = ARRAY_SIZE(mtk_dai_i2s_routes);
1056
1057
/* set all dai i2s private data */
1058
- ret = mt8183_dai_i2s_set_priv(afe);
1059
- if (ret)
1060
- return ret;
1061
-
1062
- return 0;
+ return mt8183_dai_i2s_set_priv(afe);
1063
}
0 commit comments