diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2021-04-19 11:02:38 +0900 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-04-20 17:25:48 +0100 |
commit | 67800ae93982eb4496f446cfd06f98ba7382ce36 (patch) | |
tree | 6833baad572df4f7b8ebd1b37f37969f09e1fc4b | |
parent | 14d78d74d7bc47c6ff3a66fb9d405084de7b6b02 (diff) |
ASoC: audio-graph: remove unused "node" from graph_parse_mclk_fs()
graph_parse_mclk_fs() has "node", but is not used.
This patch removes unused "node"
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87tuo33ubl.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/generic/audio-graph-card.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/generic/audio-graph-card.c b/sound/soc/generic/audio-graph-card.c index d5ab5c919311..6b38640773b3 100644 --- a/sound/soc/generic/audio-graph-card.c +++ b/sound/soc/generic/audio-graph-card.c @@ -195,7 +195,6 @@ static void graph_parse_mclk_fs(struct device_node *top, { struct device_node *port = of_get_parent(ep); struct device_node *ports = of_get_parent(port); - struct device_node *node = of_graph_get_port_parent(ep); of_property_read_u32(top, "mclk-fs", &props->mclk_fs); if (of_node_name_eq(ports, "ports")) @@ -205,7 +204,6 @@ static void graph_parse_mclk_fs(struct device_node *top, of_node_put(port); of_node_put(ports); - of_node_put(node); } static int graph_dai_link_of_dpcm(struct asoc_simple_priv *priv, |