ASoC: rsrc-card: remove unused ret
Subsystems (3)
A message that is not in the archive (sent off-list or not yet received): 201506162207.NtueFC0w%[email protected]
PATCH 1/1 ASoC: rsrc-card: remove unused ret
From: Kuninori Morimoto <[email protected]>
'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]>
--- sound/soc/sh/rcar/rsrc-card.c | 2 -- 1 file changed, 2 deletions(-)
sound/soc/sh/rcar/rsrc-card.c +0 -2
@@ -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); }
Signature · 1 line
1.9.1
Quoted 5 lines · Kuninori Morimoto
From: Kuninori Morimoto <[email protected]>
'047000278da3a17f8("ASoC: rsrc-card: cleanup for DPCM")' cleanuped rsrc-card driver, but then, unused ret was left. Below warning happen without this patch
Applied, thanks.