Skip to content

Commit

Permalink
ASoC: rsrc-card: remove unused ret
Browse files Browse the repository at this point in the history
'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 <[email protected]>
Signed-off-by: Kuninori Morimoto <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
morimoto authored and broonie committed Jun 17, 2015
1 parent 8a4e379 commit 329d0c0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sound/soc/sh/rcar/rsrc-card.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 329d0c0

Please sign in to comment.