Commit 67800ae9 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown

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: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87tuo33ubl.wl-kuninori.morimoto.gx@renesas.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 14d78d74
...@@ -195,7 +195,6 @@ static void graph_parse_mclk_fs(struct device_node *top, ...@@ -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 *port = of_get_parent(ep);
struct device_node *ports = of_get_parent(port); 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); of_property_read_u32(top, "mclk-fs", &props->mclk_fs);
if (of_node_name_eq(ports, "ports")) if (of_node_name_eq(ports, "ports"))
...@@ -205,7 +204,6 @@ static void graph_parse_mclk_fs(struct device_node *top, ...@@ -205,7 +204,6 @@ static void graph_parse_mclk_fs(struct device_node *top,
of_node_put(port); of_node_put(port);
of_node_put(ports); of_node_put(ports);
of_node_put(node);
} }
static int graph_dai_link_of_dpcm(struct asoc_simple_priv *priv, static int graph_dai_link_of_dpcm(struct asoc_simple_priv *priv,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment