[PATCH 4/4] ASoC: mediatek: mt8365-mt6357: remove useless assignment
Kuninori Morimoto
kuninori.morimoto.gx at renesas.com
Mon Jul 20 18:33:51 PDT 2026
static int mt8365_mt6357_dev_probe(...)
{
...
struct device *dev = card->dev;
...
=> card->dev = dev;
...
}
This is useless. Remove it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
---
sound/soc/mediatek/mt8365/mt8365-mt6357.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/mediatek/mt8365/mt8365-mt6357.c b/sound/soc/mediatek/mt8365/mt8365-mt6357.c
index 4339f45ee115a..dceee837c67d8 100644
--- a/sound/soc/mediatek/mt8365/mt8365-mt6357.c
+++ b/sound/soc/mediatek/mt8365/mt8365-mt6357.c
@@ -297,7 +297,6 @@ static int mt8365_mt6357_dev_probe(struct mtk_soc_card_data *soc_card_data, bool
struct mt8365_mt6357_priv *mach_priv;
int ret;
- card->dev = dev;
ret = parse_dai_link_info(card);
if (ret)
goto err;
--
2.53.0
More information about the linux-arm-kernel
mailing list