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

2019-07-10 Thread Takashi Iwai
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

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

2019-07-09 Thread Hariprasad Kelam
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 --- sound/ppc/snd_ps3.c | 3 +-- 1