diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2015-06-17 00:36:48 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-06-17 11:25:11 +0100 |
commit | 329d0c0cf1be0ad711bc2f9853fdacc33c1f72b4 (patch) | |
tree | 0786c06c4db326866529cf97dfdbc3dd008ef231 /sound | |
parent | 8a4e379b54f8cf1180cfee8ad3bfe16beedac65b (diff) | |
download | linux-stable-329d0c0cf1be0ad711bc2f9853fdacc33c1f72b4.tar.gz linux-stable-329d0c0cf1be0ad711bc2f9853fdacc33c1f72b4.tar.bz2 linux-stable-329d0c0cf1be0ad711bc2f9853fdacc33c1f72b4.zip |
ASoC: rsrc-card: remove unused ret
'047000278da3a17f8("ASoC: rsrc-card: cleanup for DPCM")'
cleanuped rsrc-card driver, but then, unused ret was left.
Below warning happen without this patch
${LINUX}/sound/soc/sh/rcar/rsrc-card.c: In function 'rsrc_card_startup':
${LINUX}/sound/soc/sh/rcar/rsrc-card.c:78:6: warning: unused variable \
'ret' [-Wunused-variable]
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/sh/rcar/rsrc-card.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/sh/rcar/rsrc-card.c b/sound/soc/sh/rcar/rsrc-card.c index 8caca2e180c3..84e935711e29 100644 --- a/sound/soc/sh/rcar/rsrc-card.c +++ b/sound/soc/sh/rcar/rsrc-card.c @@ -75,8 +75,6 @@ static int rsrc_card_startup(struct snd_pcm_substream *substream) struct rsrc_card_priv *priv = snd_soc_card_get_drvdata(rtd->card); struct rsrc_card_dai *dai_props = rsrc_priv_to_props(priv, rtd - rtd->card->rtd); - int ret; - return clk_prepare_enable(dai_props->clk); } |