aboutsummaryrefslogtreecommitdiffstats
path: root/sound/ppc/snd_ps3.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-09-06 07:41:19 -0400
committerTakashi Iwai <tiwai@suse.de>2016-09-07 14:35:29 -0400
commit44cc4a017e2df87f25765ac270f3f64efc6b06ef (patch)
treead55e8dffc16bc00492aab005320c870c22f384f /sound/ppc/snd_ps3.c
parentf3f6c61452e28ffdf93b101555546af8ef63def5 (diff)
ALSA: squash lines for simple wrapper functions
Remove unneeded variables and assignments. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/ppc/snd_ps3.c')
-rw-r--r--sound/ppc/snd_ps3.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/ppc/snd_ps3.c b/sound/ppc/snd_ps3.c
index 368242519279..b84d7d34f188 100644
--- a/sound/ppc/snd_ps3.c
+++ b/sound/ppc/snd_ps3.c
@@ -564,9 +564,7 @@ static int snd_ps3_pcm_hw_params(struct snd_pcm_substream *substream,
564 564
565static int snd_ps3_pcm_hw_free(struct snd_pcm_substream *substream) 565static int snd_ps3_pcm_hw_free(struct snd_pcm_substream *substream)
566{ 566{
567 int ret; 567 return snd_pcm_lib_free_pages(substream);
568 ret = snd_pcm_lib_free_pages(substream);
569 return ret;
570}; 568};
571 569
572static int snd_ps3_delay_to_bytes(struct snd_pcm_substream *substream, 570static int snd_ps3_delay_to_bytes(struct snd_pcm_substream *substream,