[PATCH] sound: ppc: snd_ps3: Remove Unneeded variable: "ret"

Takashi Iwai tiwai at suse.de
Wed Jul 10 19:56:25 AEST 2019

On Wed, 10 Jul 2019 04:39:46 +0200,
Hariprasad Kelam wrote:
> This patch fixes below issue reported by coccicheck
> sound/ppc/snd_ps3.c:631:5-8: Unneeded variable: "ret". Return "0" on
> line 668
> We cannot change return type of snd_ps3_pcm_trigger as it is registered
> with snd_pcm_ops->trigger
> Signed-off-by: Hariprasad Kelam <hariprasad.kelam at gmail.com>

Applied (with the correction of the description again).



More information about the Linuxppc-dev mailing list