summaryrefslogtreecommitdiff
path: root/sound/soc/generic
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2014-11-25 13:22:45 +0100
committerMark Brown <broonie@kernel.org>2014-11-25 13:49:33 +0000
commit7195d920bd6094f6810e20a903027cd438bc6d8e (patch)
tree17ec23f70429b0ca9ea2c572b422f405dbfe9120 /sound/soc/generic
parent0099c762855eeee8d3eacc11fcc1e0819e77b2ed (diff)
ASoC: simple-card: Remove useless function argument
The device node pointer 'cpu' is not used in the function asoc_simple_card_parse_daifmt(). Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/generic')
-rw-r--r--sound/soc/generic/simple-card.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c
index 3e3fec4e5c4e..ece22d55ba82 100644
--- a/sound/soc/generic/simple-card.c
+++ b/sound/soc/generic/simple-card.c
@@ -232,7 +232,6 @@ asoc_simple_card_sub_parse_of(struct device_node *np,
static int asoc_simple_card_parse_daifmt(struct device_node *node,
struct simple_card_data *priv,
- struct device_node *cpu,
struct device_node *codec,
char *prefix, int idx)
{
@@ -309,7 +308,7 @@ static int asoc_simple_card_dai_link_of(struct device_node *node,
}
ret = asoc_simple_card_parse_daifmt(node, priv,
- cpu, codec, prefix, idx);
+ codec, prefix, idx);
if (ret < 0)
goto dai_link_of_err;